GET vs POST in ASP.NET Core MVC: What My Controller Is Actually Doing
I used to see controller code like this: [HttpGet] public IActionResult Create() { return View(); } [HttpPost] public IActionResult Create(CreateAccountViewModel model) { // save something } Both methods were named…
