コード例 #1
0
 public AuthController(IUserService userService,
                       INationalityService nationalityService,
                       IEducationService educationService,
                       IReligionService religionService,
                       IWorkService workService,
                       IGenderService genderService,
                       IDegreeService degreeService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       IMapper mapper,
                       ILoggerService <AuthController> loggerService,
                       IAuthService AuthService,
                       IStringLocalizer <AuthenticationErrors> resourceForErrors)
 {
     _AuthService          = AuthService;
     _userService          = userService;
     _nationalityService   = nationalityService;
     _religionService      = religionService;
     _degreeService        = degreeService;
     _workService          = workService;
     _educationService     = educationService;
     _genderService        = genderService;
     _confirmedUserService = confirmedUserService;
     _mapper             = mapper;
     _userManagerService = userManagerService;
     _loggerService      = loggerService;
     _resourceForErrors  = resourceForErrors;
 }
コード例 #2
0
ファイル: UserController.cs プロジェクト: mehalyna/EPlast
 public UserController(IUserService userService,
                       IUserPersonalDataService userPersonalDataService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       ILoggerService <UserController> loggerService,
                       IMapper mapper)
 {
     _userService             = userService;
     _userPersonalDataService = userPersonalDataService;
     _confirmedUserService    = confirmedUserService;
     _userManagerService      = userManagerService;
     _loggerService           = loggerService;
     _mapper = mapper;
 }
コード例 #3
0
ファイル: UserService.cs プロジェクト: xfreed/EPlast
 public UserService(IRepositoryWrapper repoWrapper, UserManager <User> userManager, IMapper mapper, IWorkService workService,
                    IEducationService educationService, IUserBlobStorageRepository userBlobStorage, IWebHostEnvironment env, IUserManagerService userManagerService,
                    IConfirmedUsersService confirmedUsersService)
 {
     _repoWrapper      = repoWrapper;
     _userManager      = userManager;
     _mapper           = mapper;
     _workService      = workService;
     _educationService = educationService;
     _userBlobStorage  = userBlobStorage;
     _env = env;
     _userManagerService    = userManagerService;
     _confirmedUsersService = confirmedUsersService;
 }
コード例 #4
0
 public UserController(IUserService userService,
                       INationalityService nationalityService,
                       IEducationService educationService,
                       IReligionService religionService,
                       IWorkService workService,
                       IGenderService genderService,
                       IDegreeService degreeService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       ILoggerService <UserController> loggerService,
                       IMapper mapper)
 {
     _userService          = userService;
     _nationalityService   = nationalityService;
     _religionService      = religionService;
     _degreeService        = degreeService;
     _workService          = workService;
     _educationService     = educationService;
     _genderService        = genderService;
     _confirmedUserService = confirmedUserService;
     _userManagerService   = userManagerService;
     _loggerService        = loggerService;
     _mapper = mapper;
 }