public DefaultUsersApiOperations(IUsersService users, IUserService user, IRolesService roles, IRoleService role)
 {
     Users = users;
     User = user;
     Roles = roles;
     Role = role;
 }
 public CharitiesAdminController(IRolesService rolesService, IMembershipService membershipService,
     ICharityRepository charityRepository)
 {
     _rolesService = rolesService;
     _membershipService = membershipService;
     _charityRepository = charityRepository;
 }
 public AddUsersViewModelFactory(IEmployeeService employeeService, IRolesService rolesService, ISiteService siteService, ISiteGroupService siteGroupService)
 {
     _employeeService = employeeService;
     _rolesService = rolesService;
     _siteService = siteService;
     _siteGroupService = siteGroupService;
 }
Beispiel #4
0
 public UsersService(IUsersRepository usersRepository, IHashService hashService, IRolesService rolesService, IConstantsProvider constantsProvider)
 {
     UsersRepository = usersRepository;
     HashService = hashService;
     RolesService = rolesService;
     ConstantsProvider = constantsProvider;
 }
Beispiel #5
0
 public GroupController(
     IGroupService _GroupService,
     IRolesService _RolesService
     
     )
 {
     GroupService = _GroupService;
     RolesService = _RolesService;
 }
 public SellersController(
     IUsersService usersService,
     IRolesService rolesService,
     IUserRolesService<ApplicationUserRole> userRolesService,
     ICommentsService commentsService,
     IVotesService votesService,
     IProductsService productsService) 
     : base(usersService, rolesService, userRolesService, commentsService, votesService, productsService)
 {
 }
Beispiel #7
0
 public RolesController(
     IRolesService _RolesService,
     IPermissionsService _PermissionsService,
     IDepartmentService _DepartmentService
     )
 {
     RolesService = _RolesService;
     PermissionsService = _PermissionsService;
     DepartmentService = _DepartmentService;
 }
 public GradesController( ICreditingFormService creditingFormService, IFinalGradesService finalGradesService, IPartialGradesService partialGradesService, ISubjectsService subjectsService, IUsersService usersService, IGroupsService groupsService, IRolesService rolesService)
 {
     this.finalGradesService = finalGradesService;
     this.partialGradesService = partialGradesService;
     this.subjectsService = subjectsService;
     this.usersService = usersService;
     this.rolesService = rolesService;
     this.groupsService = groupsService;
     this.creditingFormService = creditingFormService;
 }
 public UserController(IUsersService usersService, IRolesService rolesService, ISubjectsService subjectsService, IPartialGradesService partialService, IFinalGradesService finalService,
     IGroupsService groupsService)
 {
     this.usersService = usersService;
     this.rolesService = rolesService;
     this.subjectsService = subjectsService;
     this.partialService = partialService;
     this.finalService = finalService;
     this.groupsService = groupsService;
 }
Beispiel #10
0
 public RoleController(IHostingEnvironment env, 
                       UserManager<ApplicationUser> userManager,
                       IUsersService usersService,
                       IRolesService rolesService)
     : base(userManager)
 {
     _env = env;
     _usersService = usersService;
     _rolesService = rolesService;
 }
Beispiel #11
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
        }
Beispiel #12
0
 public UserController(IHostingEnvironment env, IEmailSender emailSender,
                       UserManager<ApplicationUser> userManager,
                       IUsersService usersService,
                       IUserInfosService userInfosService,
                       IRolesService rolesService) : base(userManager)
 {
     _env = env;
     _emailSender = emailSender;
     _usersService = usersService;
     _userInfosService = userInfosService;
     _rolesService = rolesService;
 }
        public EmployeeViewModelFactory(IEmployeeService employeeService, ISiteService siteService, ILookupService lookupService,
                                        ISiteGroupService siteGroupService, IRolesService rolesService, IRiskAssessorService riskAssessorService)
        {
            _employeeService = employeeService;
            _siteService = siteService;
            _siteGroupService = siteGroupService;
            _lookupService = lookupService;
            _rolesService = rolesService;
            _riskAssessorService = riskAssessorService;

            _addUsersViewModelFactory = new AddUsersViewModelFactory(_employeeService, _rolesService, _siteService, _siteGroupService);
        }
        public UserAdministrationController(
			IMembershipSettings membershipSettings,
			IUserService userService,
			IPasswordService passwordService,
			IRolesService rolesService,
			ISmtpClient smtpClient)
        {
            _membershipSettings = membershipSettings;
            _userService = userService;
            _passwordService = passwordService;
            _rolesService = rolesService;
            _smtpClient = smtpClient;
        }
Beispiel #15
0
 public ClassWrapper(IUsersService usersService, IProjectsService projectsService, ITasksService tasksService, IRolesService rolesService, 
     ICategoriesService categoriesService, IStatusesService statusesService, IPrioritiesService prioritiesService, ITypesService typesService,
     ISlotsService slotsService)
 {
     _usersService = usersService;
     _projectsService = projectsService;
     _tasksService = tasksService;
     _rolesService = rolesService;
     _categoriesService = categoriesService;
     _statusesService = statusesService;
     _prioritiesService = prioritiesService;
     _typesService = typesService;
     _slotsService = slotsService;
 }
Beispiel #16
0
 public ClassWrapper()
 {
     _usersService = new UsersService();
     _projectsService = new ProjectsService();
     _tasksService = new TasksService();
     _membershipsService = new MembershipsService();
     _userMembershipsService = new UserMembershipsService();
     _rolesService = new RolesService();
     _usersRolesService = new UsersRolesService();
     _categoriesService = new CategoriesService();
     _statusesService = new StatusesService();
     _prioritiesService = new PrioritiesService();
     _typesService = new TypesService();
     _slotsService = new SlotsService();
 }
Beispiel #17
0
 public WcfService(
     IUsersService usersService,
     IRolesService rolesService,
     ICategoriesService categoriesService,
     IPrioritiesService prioritiesService,
     ITypesService typesService,
     IUsersRolesService usersRolesService,
     IStatusesService statusesService)
 {
     _usersService = usersService;
     _rolesService = rolesService;
     _categoriesService = categoriesService;
     _prioritiesService = prioritiesService;
     _typesService = typesService;
     _usersRolesService = usersRolesService;
     _statusesService = statusesService;
 }
Beispiel #18
0
 public AccountController(ApplicationDbContext dbContext,
                          UserManager<ApplicationUser> userManager,
                          SignInManager<ApplicationUser> signInManager,
                          IUsersService usersService,
                          IUserInfosService userInfosService,
                          IRolesService rolesService,
                          IEmailSender emailSender,
                          ISmsSender smsSender,
                          ILoggerFactory loggerFactory) : base(userManager, dbContext)
 {
     _signInManager = signInManager;
     _usersService = usersService;
     _userInfosService = userInfosService;
     _rolesService = rolesService;
     _emailSender = emailSender;
     _smsSender = smsSender;
     _logger = loggerFactory.CreateLogger<AccountController>();
 }
Beispiel #19
0
 public MessageController(
     ICustomerCompanyService CustomerCompanyService
     , IRelationCateService RelationCateService
     , ICustomerCateService CustomerCateService
     , ICityCateService CityCateService
     , IIndustryCateService IndustryCateService
     , ICustomerService CustomerService
     , IJobCateService JobCateService
     , ICustomerShareService CustomerShareService
     , IMemberService MemberService
     , IPermissionsService PermissionsService
     , IGroupService GroupService
     , IRolesService RolesService
     , INoticeService NoticeService
     , IRuleCateService RuleCateService
     , IPunishService PunishService
     , ITcNoticeService TcNoticeService
     , IDepartmentService DepartmentService
     )
 {
     this.CustomerCompanyService = CustomerCompanyService;
     this.RelationCateService = RelationCateService;
     this.CustomerCateService = CustomerCateService;
     this.CityCateService = CityCateService;
     this.IndustryCateService = IndustryCateService;
     this.CustomerService = CustomerService;
     this.JobCateService = JobCateService;
     this.CustomerShareService = CustomerShareService;
     this.MemberService = MemberService;
     this.PermissionsService = PermissionsService;
     this.GroupService = GroupService;
     this.RolesService = RolesService;
     this.NoticeService = NoticeService;
     this.RuleCateService = RuleCateService;
     this.PunishService = PunishService;
     this.TcNoticeService = TcNoticeService;
     this.DepartmentService = DepartmentService;
 }
Beispiel #20
0
 public GroupService(IUnitOfWork db
     , IRolesService RolesService)
 {
     this.db = db;
     this.RolesService = RolesService;
 }
 public UserAdministrationController(AspNetMembershipProviderWrapper membership, IRolesService roles, ISmtpClient smtp)
     : this(membership.Settings, membership, membership, roles, smtp)
 {
 }
Beispiel #22
0
 public UsersService(ApplicationDbContext dbContext, IUserRolesService userRolesService, IRolesService rolesService, ICachesService cacheService)
     : base(dbContext, cacheService)
 {
 }
 public FubuPrincipalFactory(IUserService userService, IRolesService rolesService)
 {
     _userService = userService;
     _rolesService = rolesService;
 }
Beispiel #24
0
 public GetUsersAction(IRolesService rolesService)
 {
     _rolesService = rolesService;
 }
Beispiel #25
0
 public RolesController(IRolesService service)
 {
     _service = service;
 }
Beispiel #26
0
 public RolesController(IRolesService rolesBll)
 {
     _rolesBll = rolesBll;
 }
Beispiel #27
0
 public RolesController(IRolesService roleService)
 {
     _rolesService = roleService;
 }
Beispiel #28
0
 static CommonHelper()
 {
     RolesBll = RegisterAutofacFroSingle.CurrentContainer.Resolve<IRolesService>();
     ConfigInfoBll = RegisterAutofacFroSingle.CurrentContainer.Resolve<IConfigInfoService>();
 }
 public StudentsController(IUsersService usersService, IGroupsService groupsService, IRolesService rolesService)
 {
     this.usersService = usersService;
     this.rolesService = rolesService;
     this.groupsService = groupsService;
 }
 public AuthorizeUnlessOnlyUserAttribute(IUserService userService, IRolesService rolesService)
 {
     _userService = userService;
     _rolesService = rolesService;
 }