In this video, I show you how you can create an action filter to check model validation state in ASP Core MVC 2.0 project.
We use IActionFilter Interface to create ValidateModelAttribute and use the controller to find the name of the current action.
...
https://www.youtube.com/watch?v=heCx6LQ_XHU