HttpPost forms in ASP.NET
Hello, i'm having a hard time understanding how clicking the submit button on this form triggers the CreateCategory(Category entry) IActionResult method.
I understand that [HttpPost] determines which overload of the CreateCategory() method gets activated.. But why CreateCategory()?? There's nothing in the form linking to this. If it's automatic then how would it make distinctions between multiple [HttpPost] methods?
I understand that [HttpPost] determines which overload of the CreateCategory() method gets activated.. But why CreateCategory()?? There's nothing in the form linking to this. If it's automatic then how would it make distinctions between multiple [HttpPost] methods?

