I am migrating to .net 5 Core MVC.
I used to override the AuthorizeAttribute to check the IP, else use the base authorisation (check if they are logged i
AuthorizeAttribute