public AccountController(
     IRestrictedAccountManager accountManager,
     IAccountManager unrestrictedAccountManager,
     IAuthorizationService authorizationService,
     IClaimsService claimsService,
     ITenantEntityAccessChecker accessChecker,
     AutoMapperConfig autoMapperConfig)
 {
     _accountManager             = accountManager;
     _unrestrictedAccountManager = unrestrictedAccountManager;
     _authorizationService       = authorizationService;
     _accessChecker = accessChecker;
     _claimsService = claimsService;
     _mapper        = autoMapperConfig.CreateMapper();
 }
 public RolesController(
     IRestrictedAccountManager accountManager,
     IRestrictedRoleService roleService,
     IClaimsService claimsService,
     IAuthorizationService authorizationService,
     ITenantIdProvider tenantIdProvider,
     AutoMapperConfig autoMapperConfig
     )
 {
     _roleService          = roleService;
     _claimsService        = claimsService;
     _accountManager       = accountManager;
     _authorizationService = authorizationService;
     _tenantIdProvider     = tenantIdProvider;
     _mapper = autoMapperConfig.CreateMapper();
 }