skip to Main Content

invalid Url generated for POST action – Asp.net

I think there is a problem with URL generation. Assuming that we have the following controller: [Route("[action]")] public class Home : Controller { [Route("/")] public IActionResult Index() { return View(); } [HttpGet] [Route("{number}")] public IActionResult Edit(int number) { return View();…

VIEW QUESTION
Back To Top
Search