created generar method .net core post put get delete code example Example: aspnet new api dotnet new webapi -o TodoApi