public PermissionsController(
     IMediator mediator,
     PermissionQueries permissionQueries)
 {
     _mediator          = mediator;
     _permissionQueries = permissionQueries;
 }
 public PermissionsController(
     IMediator mediator,
     PermissionQueries permissionQueries,
     IIdentityService identityService)
 {
     _mediator          = mediator;
     _permissionQueries = permissionQueries;
     _identityService   = identityService;
 }
 public RolesController(
     IMediator mediator,
     IAuthorizationService authorizationService,
     RoleQueries roleQueries,
     PermissionQueries permissionQueries,
     RoleManager <Model.IdentityRole> roleManager)
 {
     _roleManager          = roleManager;
     _mediator             = mediator;
     _roleQueries          = roleQueries;
     _permissionQueries    = permissionQueries;
     _authorizationService = authorizationService;
 }