Exemplo n.º 1
0
 public AdminManager(IMapper autoMapper,
                     UserManager <ApplicationUser> userManager,
                     RoleManager <ApplicationRole> roleManager,
                     ConfigurationDbContext configurationDbContext,
                     TenantStoreDbContext tenantStoreDbContext,
                     EntityPermissions entityPermissions,
                     ILogger <AdminManager> logger,
                     IStringLocalizer <Global> l)
 {
     _autoMapper             = autoMapper;
     _userManager            = userManager;
     _roleManager            = roleManager;
     _configurationDbContext = configurationDbContext;
     _tenantStoreDbContext   = tenantStoreDbContext;
     _entityPermissions      = entityPermissions;
     _logger = logger;
     L       = l;
 }
Exemplo n.º 2
0
 public AdminManager(IMapper autoMapper,
                     UserManager <ApplicationUser> userManager,
                     RoleManager <IdentityRole <Guid> > roleManager,
                     ConfigurationDbContext configurationDbContext,
                     TenantStoreDbContext tenantStoreDbContext,
                     ApplicationPermissions applicationPermissions,
                     ILogger <AdminManager> logger,
                     IStringLocalizer <Strings> l)
 {
     _autoMapper             = autoMapper;
     _userManager            = userManager;
     _roleManager            = roleManager;
     _configurationDbContext = configurationDbContext;
     _tenantStoreDbContext   = tenantStoreDbContext;
     _applicationPermissions = applicationPermissions;
     _logger = logger;
     L       = l;
 }