AGL Energy Interview Question

Design a simple API in .net