public WebCoreSecurityServiceBinder(IUserService userService, IRoleService roleService, IUserRolesService userRolesService, IRolePageRestrictionService rolePageRestrictionService) { this.userService = userService; this.roleService = roleService; this.userRolesService = userRolesService; this.rolePageRestrictionService = rolePageRestrictionService; }
public CmsPluginServiceBinder(IUserService userService, IRoleService roleService, IUserRolesService userRolesService, IEnquiryService enquiryService) { this.userService = userService; this.roleService = roleService; this.userRolesService = userRolesService; this.enquiryService = enquiryService; }
public UsersController( IUserService userService, IUserRolesService userRoleService ) : base(userService) { _userRoleService = userRoleService; }
public CallableResourceDefinition(IResourceGraph resourceGraph, IUserRolesService userRolesService) : base(resourceGraph) { // This constructor will be resolved from the container, which means // you can take on any dependency that is also defined in the container. _userRolesService = userRolesService; }
public SettingsController(ISettingService settingsService, ILogService logService, ICustomerActivityService activityService, IWorkContext workContext, IUserRolesService userRolesService) { _settingsService = settingsService; _logService = logService; _activityService = activityService; _workContext = workContext; _userRolesService = userRolesService; }
public UsersController(IUsersService usersService, ICurrentUser currentUser, IUserRolesService userRolesService) { this.usersService = usersService; this.currentUser = currentUser; this.userRolesService = userRolesService; }
/// <summary> /// Constructor that takes a MySQLDatabase as argument /// </summary> /// <param name="database"></param> public UserStore(IDataProvider dataProvider) { this.dataProvider = dataProvider; userService = Container.Resolve <IUserService <TUser> >(); roleService = Container.Resolve <IRoleService>(); userRolesService = Container.Resolve <IUserRolesService>(); userClaimsService = Container.Resolve <IUserClaimsService>(); userLoginsService = Container.Resolve <IUserLoginsService>(); }
public UserManager(IConfiguration config, IUserService userService, IUserRolesService userRolesService, IUserRefreshTokenService userRefreshTokenService) { this.config = config; this.userService = userService; this.userRolesService = userRolesService; this.userRefreshTokenService = userRefreshTokenService; }
public UserManager(ApplicationDbContext dbContext) : base(dbContext) { _userModule = new UserModule(DbContext); _usersRoleService = WebAppConfiguration.ServiceProvider.GetService <IUserRolesService>(); ((BodyReportService)_usersRoleService).SetDbContext(DbContext); // for use same transaction _rolesService = WebAppConfiguration.ServiceProvider.GetService <IRolesService>(); ((BodyReportService)_rolesService).SetDbContext(DbContext); // for use same transaction }
public SellersController( IUsersService usersService, IRolesService rolesService, IUserRolesService<ApplicationUserRole> userRolesService, ICommentsService commentsService, IVotesService votesService, IProductsService productsService) : base(usersService, rolesService, userRolesService, commentsService, votesService, productsService) { }
public UserController(IConfiguration config, IUserService userService, IUserRolesService userRolesService, IUserManager userManager) { this.config = config; this.userService = userService; this.userRolesService = userRolesService; this.userManager = userManager; }
public SubModuleService(IUnitOfWork unitOfWork, IRepository <MenuSubModule> submoduleRepo, IRepository <Menu> menuRepo, IRepository <UserBookMark> userBookMarkRepo, IRepository <RolesMenu> userRoleRepo, IUserRolesService userRolesServ) { _unitOfWork = unitOfWork; _SubModuleRepository = submoduleRepo; _MenuRepository = menuRepo; _UserBookMarkRepository = userBookMarkRepo; _RolesMenuRepository = userRoleRepo; _userRolesService = userRolesServ; }
public UsersController(IUserService userService, IWorkContext workContext, ICustomerActivityService activityService, ILogService logFactory, IUserRegisterationService userRegisterationService, IUserRolesService userRolesService) { _userService = userService; _workContext = workContext; _activityService = activityService; _logFactory = logFactory; _userRegisterationService = userRegisterationService; _userRolesService = userRolesService; _userAccountView = "CreateUserView"; _userRoleView = "RoleView"; }
public UserManager(ApplicationDbContext dbContext) : base(dbContext) { _userModule = new UserModule(DbContext); _usersRoleService = WebAppConfiguration.ServiceProvider.GetService<IUserRolesService>(); ((BodyReportService)_usersRoleService).SetDbContext(DbContext); // for use same transaction _rolesService = WebAppConfiguration.ServiceProvider.GetService<IRolesService>(); ((BodyReportService)_rolesService).SetDbContext(DbContext); // for use same transaction }
public SiteSelectionController(ISiteSelectionService SiteSelectionServ, ICompanyService CompanyServ, IUserRolesService userRolesService, IModuleService moduleServ, ICompanySettingsService CompanySettingsServ, IUserBookMarkService userBookmarkServ, IRolesControllerActionService rolesControllerActServ) { _siteSelectionService = SiteSelectionServ; _userRolesService = userRolesService; _moduleService = moduleServ; _CompanySettingsService = CompanySettingsServ; _CompanyService = CompanyServ; _userBookMarkService = userBookmarkServ; _rolesControllerAcitonService = rolesControllerActServ; }
public ProjectUserController( MessageModel msg, IUserService userver, IUserRolesService roleserver, IMapper mapper ) { //_msg = msg; _userver = userver; _roleserver = roleserver; _mapper = mapper; }
public AdminSetupController(IExceptionHandler exec, IMvcControllerService MvcContrService, IControllerActionService ControllerActionService, IUserRolesService UserRolesServ, IRolesSiteService RolesSiteService, IRolesDivisionService RolesDivisionService, IAdminSetupService AdminSetupServ) { _MvcControllerService = MvcContrService; _ControllerActionService = ControllerActionService; _exception = exec; _UserRolesService = UserRolesServ; _RolesSiteService = RolesSiteService; _RolesDivisionService = RolesDivisionService; _AdminSetupService = AdminSetupServ; }
public UserService(IGenericRepository <DataEntities.Model.User> userRepo, IUserFollowService userFollowService, IGenericRepository <DataEntities.Model.AspNetUser> aspNetUserRepo, ICategoryService categoryService, IProvinceService provinceService, ICountryService countryService, IScheduledTaskService scheduledTaskService, IUserRolesService userRolesService, IGenericRepository <DataEntities.Model.UserFollow> userFollowRepo) { _userFollowService = userFollowService; _userRepo = userRepo; _aspNetUserRepo = aspNetUserRepo; _categoryService = categoryService; _provinceService = provinceService; _countryService = countryService; _scheduledTaskService = scheduledTaskService; _userRolesService = userRolesService; _userFollowRepo = userFollowRepo; }
public UserRolesController(IMapper mapper, IUserRolesService userRoleService) { this.mapper = mapper; this.userRoleService = userRoleService; }
public CmsUserManagerController(IUserService userService, IRoleService roleService, IUserRolesService userRolesService) { this.userService = userService; this.roleService = roleService; this.userRolesService = userRolesService; }
public AdminController(IUserRolesService userRolesServ) { userRolesService = userRolesServ; }
public AdminController(IUserRolesService userRolesService, IPhotosService photosService, UserManager <User> userManager) { _userRolesService = userRolesService ?? throw new ArgumentNullException(nameof(userRolesService)); _photosService = photosService ?? throw new ArgumentNullException(nameof(photosService)); _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); }
public UserRolesController(IExceptionHandler exec, IUserRolesService userRoleServ, IUsersService userServ) { _exception = exec; _userRolesService = userRoleServ; _userService = userServ; }
public UsersService(ApplicationDbContext dbContext, IUserRolesService userRolesService, IRolesService rolesService, ICachesService cacheService) : base(dbContext, cacheService) { }
public CustomRoleProvider() { _userRolesService = SimpleInjectorConfig.GetInstance <IUserRolesService>(); _rolesService = SimpleInjectorConfig.GetInstance <IRolesService>(); }
public UserRolesController(IUserRolesService userRolesService) { UserRolesService = userRolesService; }
public UserRolesController(IUserRolesService _userRolesService) { _UserRolesService = _userRolesService; }
public UserRolesController(IUserRolesService userRolesService, LinkGenerator linkGanarator, ILoggerService logger) { _linkGanarator = linkGanarator; _logger = logger; _userRolesService = userRolesService; }
public UserRolesController(IUserRolesService service) { _service = service; }
public UserManager(IUserDal userDal, IUserRolesService userRolesService) { _userDal = userDal; _userRolesService = userRolesService; }
public UsersContext() { _userService = SimpleInjectorConfig.GetInstance <IUserService>(); _rolesService = SimpleInjectorConfig.GetInstance <IRolesService>(); _userRolesService = SimpleInjectorConfig.GetInstance <IUserRolesService>(); }
public RolesControllerActionService(IUnitOfWork unitOfWork, IRepository <RolesControllerAction> RolesConrollerAction, IUserRolesService UserRoleServ) { _unitOfWork = unitOfWork; _RolesControllerActionRepository = RolesConrollerAction; _UserRolesService = UserRoleServ; }
public ModuleService(IUnitOfWork unitOfWork, IRepository <MenuModule> moduleRepo, IUserRolesService userRolesService) { _unitOfWork = unitOfWork; _ModuleRepository = moduleRepo; _userRolesService = userRolesService; }