This is a learning article from the following url: http://www.asp.net/web-api/overview/creating-web-apis/creating-a-web-api-that-supports-crud-operations  Go here to learn the step by step methods.