I am trying to set up a API for my MVC web app that will have a lot of routes but much of the same part for each one. Basically a CRUD for each area. I am also setting it up t
Another possible solution is:
// other solution [Route("aim/v1/contacts/[Action]")] public class aimContactsController : Controller { [HttpPost("{id}")] public IActionResult delete(string id) { // omitted ... } }