Пример #1
0
 public UserServices(UserManager <AppUser> applicationUserManager, IHostingEnvironment hostingEnvironment, IEmailService emailService, IAppGroupService groupService, IAppService appService)
 {
     _applicationUserManager = applicationUserManager;
     _hostingEnvironment     = hostingEnvironment;
     _emailService           = emailService;
     _groupService           = groupService;
     _appService             = appService;
 }
Пример #2
0
 public DatabaseSeeder(IAppService appService, IAppGroupService groupService, IAppPermissionService permissionService, IAppUserService appUserService, IUserServices userServices)
 {
     _appService        = appService;
     _groupService      = groupService;
     _permissionService = permissionService;
     _appUserService    = appUserService;
     _userServices      = userServices;
 }
Пример #3
0
 public AppGroupController(IErrorService errorService,
                           IAppRoleService appRoleService,
                           ApplicationUserManager userManager,
                           IAppGroupService appGroupService, IUnitOfWork unitOfWork) : base(errorService)
 {
     _userManager     = userManager;
     _appGroupService = appGroupService;
     _appRoleService  = appRoleService;
     _unitOfWork      = unitOfWork;
 }
Пример #4
0
 public AppGroupController(IErrorService errorService,
                           IAppGroupService appGroupService,
                           IAppRoleService appRoleService,
                           ApplicationUserManager userManager
                           ) : base(errorService)
 {
     _appGroupService = appGroupService;
     _appRoleService  = appRoleService;
     _userManager     = userManager;
 }
Пример #5
0
 public AccountController(
     ApplicationUserManager userManager,
     ApplicationSignInManager signInManager,
     IAppGroupService appGroupService,
     IAppRoleService appRoleService,
     IErrorService errorService)
     : base(errorService)
 {
     _userManager     = userManager;
     _appGroupService = appGroupService;
     _signInManager   = signInManager;
     _appRoleService  = appRoleService;
 }
Пример #6
0
 public AppPermissionService(RoleManager <AppPermission> permissionManager, UserManager <AppUser> applicationUserManager, IAppGroupService groupService)
 {
     _permissionManager      = permissionManager;
     _applicationUserManager = applicationUserManager;
     _groupService           = groupService;
 }