c# authorize attribute roles code example
Example: c# authorize attribute roles
[Authorize(Roles = "HRManager,Finance")]
public class SalaryController : Controller
{
}
[Authorize(Roles = "HRManager,Finance")]
public class SalaryController : Controller
{
}