public RoleAdminController( SiteManager siteManager, SiteUserManager<SiteUser> userManager, SiteRoleManager<SiteRole> roleManager, IOptions<UIOptions> uiOptionsAccessor, IOptions<SetupOptions> setupOptionsAccessor ) { UserManager = userManager; RoleManager = roleManager; this.siteManager = siteManager; uiOptions = uiOptionsAccessor.Value; setupOptions = setupOptionsAccessor.Value; }
public RoleAdminController( SiteManager siteManager, SiteUserManager <SiteUser> userManager, SiteRoleManager <SiteRole> roleManager, IOptions <UIOptions> uiOptionsAccessor, IOptions <SetupOptions> setupOptionsAccessor ) { UserManager = userManager; RoleManager = roleManager; this.siteManager = siteManager; uiOptions = uiOptionsAccessor.Value; setupOptions = setupOptionsAccessor.Value; }
public RoleAdminController( SiteManager siteManager, SiteUserManager<SiteUser> userManager, SiteRoleManager<SiteRole> roleManager, IStringLocalizer<CloudscribeCore> localizer, IOptions<UIOptions> uiOptionsAccessor, IOptions<SiteConfigOptions> setupOptionsAccessor ) { UserManager = userManager; RoleManager = roleManager; this.siteManager = siteManager; uiOptions = uiOptionsAccessor.Value; setupOptions = setupOptionsAccessor.Value; sr = localizer; }
public RoleAdminController( SiteManager siteManager, SiteUserManager <SiteUser> userManager, SiteRoleManager <SiteRole> roleManager, IStringLocalizer <CloudscribeCore> localizer, IOptions <UIOptions> uiOptionsAccessor, IOptions <SiteConfigOptions> setupOptionsAccessor ) { UserManager = userManager; RoleManager = roleManager; this.siteManager = siteManager; uiOptions = uiOptionsAccessor.Value; setupOptions = setupOptionsAccessor.Value; sr = localizer; }
public RoleAdminController( SiteManager siteManager, SiteUserManager <SiteUser> userManager, SiteRoleManager <SiteRole> roleManager, IStringLocalizer <CloudscribeCore> localizer, IOptions <UIOptions> uiOptionsAccessor, IOptions <SiteConfigOptions> setupOptionsAccessor, IEnumerable <IGuardNeededRoles> roleGuards ) { _userManager = userManager; _roleManager = roleManager; _siteManager = siteManager; _uiOptions = uiOptionsAccessor.Value; _setupOptions = setupOptionsAccessor.Value; _sr = localizer; _roleGuards = roleGuards; }
public RoleAdminController( SiteManager siteManager, SiteUserManager <SiteUser> userManager, SiteRoleManager <SiteRole> roleManager, IAuthorizationService authorizationService, IStringLocalizer <CloudscribeCore> localizer, IOptions <UIOptions> uiOptionsAccessor, IOptions <SiteConfigOptions> setupOptionsAccessor, IEnumerable <IGuardNeededRoles> roleGuards ) { UserManager = userManager; RoleManager = roleManager; SiteManager = siteManager; UIOptions = uiOptionsAccessor.Value; SetupOptions = setupOptionsAccessor.Value; AuthorizationService = authorizationService; StringLocalizer = localizer; RoleGuards = roleGuards; }
public ProjectController(IProjectRepository repo, IMapper mapper, IProjectItemRepository itemrepo, ICompanyRepository companyrepo, IPropertyRepository propertyrepo, SiteUserManager <SiteUser> siteUserManager, SiteRoleManager <SiteRole> siteRoleMamager, IAppUserRoleRepository appUserRoleRepo, IAppRoleRepository appRoleRepo ) { _repo = repo; _itemrepo = itemrepo; _companyrepo = companyrepo; _propertyrepo = propertyrepo; _siteRoleManager = siteRoleMamager; _mapper = mapper; _siteUserManager = siteUserManager; _appUserRoleRepo = appUserRoleRepo; _appRoleRepo = appRoleRepo; }