ASP.NET Core ModelState Validation Filter
During my code review sessions I see a lot of duplicate for the ModelState validation like 1public async Task<IActionResult> AddAsync(PersonAddSubmitModel model) 2{ 3 if(ModelState.IsValid) 4 { 5 return …
Read Blog Post