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;
 }
Esempio n. 3
0
 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;
        }
Esempio n. 5
0
 public SettingsController(ISettingService settingsService, ILogService logService, ICustomerActivityService activityService, IWorkContext workContext, IUserRolesService userRolesService)
 {
     _settingsService  = settingsService;
     _logService       = logService;
     _activityService  = activityService;
     _workContext      = workContext;
     _userRolesService = userRolesService;
 }
Esempio n. 6
0
 public UsersController(IUsersService usersService,
                        ICurrentUser currentUser,
                        IUserRolesService userRolesService)
 {
     this.usersService     = usersService;
     this.currentUser      = currentUser;
     this.userRolesService = userRolesService;
 }
Esempio n. 7
0
 /// <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>();
 }
Esempio n. 8
0
 public UserManager(IConfiguration config,
                    IUserService userService,
                    IUserRolesService userRolesService,
                    IUserRefreshTokenService userRefreshTokenService)
 {
     this.config                  = config;
     this.userService             = userService;
     this.userRolesService        = userRolesService;
     this.userRefreshTokenService = userRefreshTokenService;
 }
Esempio n. 9
0
        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)
 {
 }
Esempio n. 11
0
 public UserController(IConfiguration config,
                       IUserService userService,
                       IUserRolesService userRolesService,
                       IUserManager userManager)
 {
     this.config           = config;
     this.userService      = userService;
     this.userRolesService = userRolesService;
     this.userManager      = userManager;
 }
Esempio n. 12
0
 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;
 }
Esempio n. 13
0
 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";
 }
Esempio n. 14
0
        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
        }
Esempio n. 15
0
 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;
 }
Esempio n. 16
0
 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;
 }
Esempio n. 18
0
 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;
 }
Esempio n. 19
0
 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;
 }
Esempio n. 21
0
 public AdminController(IUserRolesService userRolesServ)
 {
     userRolesService = userRolesServ;
 }
Esempio n. 22
0
 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));
 }
Esempio n. 23
0
 public UserRolesController(IExceptionHandler exec, IUserRolesService userRoleServ, IUsersService userServ)
 {
     _exception        = exec;
     _userRolesService = userRoleServ;
     _userService      = userServ;
 }
Esempio n. 24
0
 public UsersService(ApplicationDbContext dbContext, IUserRolesService userRolesService, IRolesService rolesService, ICachesService cacheService)
     : base(dbContext, cacheService)
 {
 }
 public CustomRoleProvider()
 {
     _userRolesService = SimpleInjectorConfig.GetInstance <IUserRolesService>();
     _rolesService     = SimpleInjectorConfig.GetInstance <IRolesService>();
 }
Esempio n. 26
0
 public UserRolesController(IUserRolesService userRolesService)
 {
     UserRolesService = userRolesService;
 }
Esempio n. 27
0
 public UserRolesController(IUserRolesService _userRolesService)
 {
     _UserRolesService = _userRolesService;
 }
Esempio n. 28
0
 public UserRolesController(IUserRolesService userRolesService, LinkGenerator linkGanarator, ILoggerService logger)
 {
     _linkGanarator    = linkGanarator;
     _logger           = logger;
     _userRolesService = userRolesService;
 }
Esempio n. 29
0
 public UsersService(ApplicationDbContext dbContext, IUserRolesService userRolesService, IRolesService rolesService, ICachesService cacheService) : base(dbContext, cacheService)
 {
 }
 public UserRolesController(IUserRolesService service)
 {
     _service = service;
 }
Esempio n. 31
0
 public UserManager(IUserDal userDal, IUserRolesService userRolesService)
 {
     _userDal          = userDal;
     _userRolesService = userRolesService;
 }
Esempio n. 32
0
 public UsersContext()
 {
     _userService      = SimpleInjectorConfig.GetInstance <IUserService>();
     _rolesService     = SimpleInjectorConfig.GetInstance <IRolesService>();
     _userRolesService = SimpleInjectorConfig.GetInstance <IUserRolesService>();
 }
Esempio n. 33
0
 public RolesControllerActionService(IUnitOfWork unitOfWork, IRepository <RolesControllerAction> RolesConrollerAction, IUserRolesService UserRoleServ)
 {
     _unitOfWork = unitOfWork;
     _RolesControllerActionRepository = RolesConrollerAction;
     _UserRolesService = UserRoleServ;
 }
Esempio n. 34
0
 public ModuleService(IUnitOfWork unitOfWork, IRepository <MenuModule> moduleRepo, IUserRolesService userRolesService)
 {
     _unitOfWork       = unitOfWork;
     _ModuleRepository = moduleRepo;
     _userRolesService = userRolesService;
 }