Centerfield interview question

write a simple Web API in .net