コード例 #1
0
 public SrfRequestService(
     UserManager <ApplicationUser> userManager,
     IUserProfileService profileService,
     IRepository <SrfRequest> repository,
     ICandidateInfoService contractor,
     IRepository <CandidateInfo> candidate,
     IRepository <AccountName> account,
     IRepository <VacancyList> vacancy,
     IRepository <UserProfile> user,
     IRepository <Departement> department,
     IRepository <DepartementSub> departmentSub,
     ISrfEscalationRequestService escalation) :
     base(repository)
 {
     _contractor     = contractor;
     _escalation     = escalation;
     _profileService = profileService;
     _userManager    = userManager;
     _candidate      = candidate;
     _account        = account;
     _vacancy        = vacancy;
     _user           = user;
     _department     = department;
     _departmentSub  = departmentSub;
 }
コード例 #2
0
ファイル: AccountController.cs プロジェクト: feblaw/ebast
        public AccountController(
            UserManager <ApplicationUser> userManager,
            SignInManager <ApplicationUser> signInManager,
            IMailSenderService mailSender,
            ViewRender view,
            IIdentityServerInteractionService interaction,
            ISmsSender smsSender,
            ILoggerFactory loggerFactory,
            IOptions <HostConfiguration> hostConfiguration,
            ConfigHelper config,
            ICandidateInfoService candidate,
            MailingHelper mailingHelper,
            IUserProfileService profile,
            ISrfRequestService srf,
            ISrfEscalationRequestService escalation,
            IPersistedGrantService persistedGrantService)

        {
            this.view              = view;
            this.userManager       = userManager;
            this.signInManager     = signInManager;
            this.mailSender        = mailSender;
            this.smsSender         = smsSender;
            this.hostConfiguration = hostConfiguration.Value;
            this.interaction       = interaction;
            //this.logger = loggerFactory.CreateLogger<AccountController>();
            _config                = config;
            _mailingHelper         = mailingHelper;
            _persistedGrantService = persistedGrantService;
            _profile               = profile;
            _candidate             = candidate;
            _srf        = srf;
            _escalation = escalation;
        }
コード例 #3
0
 public DashboardService(
     IRepository <SrfRequest> repository,
     IClaimService claim,
     IAttendaceExceptionListService timesheet,
     ISrfEscalationRequestService escalation,
     IAccountNameService account,
     ICandidateInfoService candidate,
     IDepartementService department,
     IDepartementSubService departmentSub,
     IVacancyListService vacancy,
     IBastService bast,
     Identity.IUserProfileService user
     ) : base(repository)
 {
     _claim          = claim;
     _timesheet      = timesheet;
     _escalation     = escalation;
     _vacancy        = vacancy;
     _account        = account;
     _candidate      = candidate;
     _department     = department;
     _departementSub = departmentSub;
     _user           = user;
     _bast           = bast;
 }
コード例 #4
0
 public SrfController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService service,
     IDepartementSubService department,
     ICostCenterService costCenter,
     INetworkNumberService networkNumber,
     IDepartementService departmentOp,
     ISrfEscalationRequestService escalation,
     ICandidateInfoService candidate,
     IHostingEnvironment env,
     IUserProfileService userProfile,
     UserManager <ApplicationUser> userManager,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _userHelper    = userHelper;
     _departmentSub = department;
     _costCenter    = costCenter;
     _networkNumber = networkNumber;
     _department    = departmentOp;
     _escalation    = escalation;
     _env           = env;
     _candidate     = candidate;
     _userManager   = userManager;
     _userProfile   = userProfile;
 }
コード例 #5
0
ファイル: EnableSrf.cs プロジェクト: feblaw/ebast
 public EnableSrf(IServiceProvider service, RoleManager <ApplicationRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _service     = service;
     _roleManager = roleManager;
     _userManager = userManager;
     _userProfile = _service.GetService <IUserProfileService>();
     _srf         = _service.GetService <ISrfRequestService>();
     _candidate   = _service.GetService <ICandidateInfoService>();
     _vacancy     = _service.GetService <IVacancyListService>();
     _escalation  = _service.GetService <ISrfEscalationRequestService>();
 }
コード例 #6
0
 public ContractorDataController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IHostingEnvironment env,
     ISrfEscalationRequestService escalation,
     IMapper mapper,
     ISrfRequestService service,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _env        = env;
     _userHelper = userHelper;
     _escalation = escalation;
 }
コード例 #7
0
 public SrfRecoveryController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService service,
     IVacancyListService vacancy,
     ICandidateInfoService candidate,
     IDepartementService department,
     IServicePackService ssow,
     IServicePackCategoryService ssowCategory,
     IJobStageService jobStage,
     IDepartementSubService departmentSub,
     INetworkNumberService network,
     IAccountNameService account,
     ICostCenterService costCenter,
     ISrfEscalationRequestService escalation,
     IUserProfileService profileService,
     ISrfMigrationService migrate,
     IActivityCodeService activity,
     IPackageTypeService packageType,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _vacancy        = vacancy;
     _candidate      = candidate;
     _department     = department;
     _ssow           = ssow;
     _ssowCategory   = ssowCategory;
     _departmentSub  = departmentSub;
     _network        = network;
     _account        = account;
     _userHelper     = userHelper;
     _costCenter     = costCenter;
     _escalation     = escalation;
     _profileService = profileService;
     _migrate        = migrate;
     _packageType    = packageType;
     _jobStage       = jobStage;
     _activity       = activity;
 }
コード例 #8
0
ファイル: MigrationSrf.cs プロジェクト: feblaw/ebast
 public MigrationSrf(IServiceProvider service, RoleManager <ApplicationRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _service       = service;
     _roleManager   = roleManager;
     _userManager   = userManager;
     _vacancy       = _service.GetService <IVacancyListService>();
     _account       = _service.GetService <IAccountNameService>();
     _userProfile   = _service.GetService <IUserProfileService>();
     _costCenter    = _service.GetService <ICostCenterService>();
     _department    = _service.GetService <IDepartementService>();
     _departmentSub = _service.GetService <IDepartementSubService>();
     _jobstage      = _service.GetService <IJobStageService>();
     _networkNumber = _service.GetService <INetworkNumberService>();
     _ssow          = _service.GetService <IServicePackService>();
     _ssow_category = _service.GetService <IServicePackCategoryService>();
     _city          = _service.GetService <ICityService>();
     _packageType   = _service.GetService <IPackageTypeService>();
     _candidate     = _service.GetService <ICandidateInfoService>();
     _activity      = _service.GetService <IActivityCodeService>();
     _srf           = _service.GetService <ISrfRequestService>();
     _escalation    = _service.GetService <ISrfEscalationRequestService>();
 }