Feb 25, 2021 04:01 PM|valenciano8|LINK
I'm just wondering if there is a way to precise the ControllerRoute instead of the traditional :
Indeed let's take this example :
A web app has 4 controllers :
But I want to create an Admin Panel which will handle data of Controller A to C with Admin Role.
My wish is to reorganize the Controller Folder structure like so :
Is that possible ? If so, how to extend "asp-controller" tag scope ?
Otherwise I can simply put the methods inside each controller with the [Authorize(Role="Admin")] but I'm just asking ;)