In this post we will
create a HttpDelete method in Asp.Net Core WebAPI, which will be used
to delete a row in the SQL Server database using Entity Framework Core. We have seen how to setup Entity Framework
Core in an Asp.Net Core Web API project in the previous posts, in this post we
will jump into creating the HttpDelete method.
Open the Country controller which we used in the previous post and add the following Delete method which uses the HttpDelete verb.
Open the Country controller which we used in the previous post and add the following Delete method which uses the HttpDelete verb.

