Filters

-> Filters are custom classes that provide both a declarative and programmatic means to aid pre-action and post-action behavior to controller action methods. Authorization Filters -> These implement IAuthorizationFilter and…