Api Method Name Attribute
Hi,
i just wonder what the name property inside the HttpMethod attribute is for? I read it can be used in MVC a lot when calling other controllers or getting their routes. So I have something like
Im usually used to something like
i just wonder what the name property inside the HttpMethod attribute is for? I read it can be used in MVC a lot when calling other controllers or getting their routes. So I have something like
Im usually used to something like
[HttpDelete("{id}")]. I cannot specify both, right? I just create an api and want to be documentative/verbose about my code