Tag Archives: Web API Delete

Using Web API with Entity Framework to delete data sample

This article is the extension of Using Web API with Entity Framework to create data sample (https://chanmingman.wordpress.com/2013/07/05/using-web-api-with-entity-framework-to-update-data-sample/) 1. Open ValuesController.cs file under the Controllers folder in Solution Explorer. 2. Replace the entire Delete(int id)method with the following code. // DELETE … Continue reading

Posted in .Net | Tagged , | 2 Comments