示例#1
0
 public TravelController(IHttpContextAccessor httpContextAccessor,
                         IUserService userService, IMapper mapper,
                         IClaimService service,
                         ICostCenterService costCenter,
                         INetworkNumberService networkNumber,
                         IActivityCodeService activityCode,
                         ICityService city,
                         IVacancyListService vacancy,
                         IUserProfileService profileUser,
                         ICandidateInfoService candidate,
                         IOptions <HostConfiguration> hostConfiguration,
                         UserManager <ApplicationUser> userManager,
                         NotifHelper notif,
                         IUserProfileService profile,
                         ITicketInfoService ticket,
                         IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _costCenter        = costCenter;
     _networkNumber     = networkNumber;
     _activityCode      = activityCode;
     _city              = city;
     _notif             = notif;
     _userService       = userService;
     _profileUser       = profileUser;
     _hostConfiguration = hostConfiguration.Value;
     _userHelper        = userHelper;
     _vacancy           = vacancy;
     _candidate         = candidate;
     _userManager       = userManager;
     _profile           = profile;
     _ticket            = ticket;
 }
示例#2
0
 public RegistrationController(IHttpContextAccessor httpContextAccessor,
                               IUserService userService, IMapper mapper,
                               IAttendaceExceptionListService service,
                               IDepartementService department,
                               ICostCenterService cost,
                               IAccountNameService account,
                               INetworkNumberService network,
                               IProjectsService project,
                               IActivityCodeService code,
                               ISubOpsService subOp,
                               ICityService city,
                               IUserProfileService profile,
                               IActivityCodeService activity,
                               ITimeSheetTypeService timesheet,
                               IUserHelper userHelper,
                               ISrfRequestService srf,
                               ICandidateInfoService contractor,
                               IDepartementSubService departmentSub,
                               IUserProfileService profileUser,
                               IAttendanceRecordService attendanceRecord,
                               ICandidateInfoService candidate,
                               IVacancyListService vacancy,
                               IOptions <HostConfiguration> hostConfiguration,
                               NotifHelper notif) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _department        = department;
     _cost              = cost;
     _account           = account;
     _network           = network;
     _project           = project;
     _code              = code;
     _subOp             = subOp;
     _city              = city;
     _userHelper        = userHelper;
     _profile           = profile;
     _actiivity         = activity;
     _timesheet         = timesheet;
     _contractor        = contractor;
     _department        = department;
     _departmentSub     = departmentSub;
     _notif             = notif;
     _hostConfiguration = hostConfiguration.Value;
     _attendanceRecord  = attendanceRecord;
     _candidate         = candidate;
     _vacancy           = vacancy;
     _srf = srf;
 }
示例#3
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;
 }
示例#4
0
 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>();
 }
示例#5
0
 public ClaimController(IHttpContextAccessor httpContextAccessor,
                        IUserService userService, IMapper mapper,
                        IClaimService service,
                        ICostCenterService costCenter,
                        INetworkNumberService networkNumber,
                        IProjectsService project,
                        IDepartementSubService departmentSub,
                        IActivityCodeService activity,
                        IUserProfileService user,
                        ICandidateInfoService candidate,
                        IVacancyListService vacacncy,
                        IAllowanceFormService allowForm,
                        IOptions <HostConfiguration> hostConfiguration,
                        UserManager <ApplicationUser> userManager,
                        IClaimCategoryService claimCategory,
                        ISrfRequestService srf,
                        NotifHelper notif,
                        FileHelper file,
                        IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _costCenter        = costCenter;
     _networkNumber     = networkNumber;
     _project           = project;
     _departmentSub     = departmentSub;
     _activity          = activity;
     _user              = user;
     _notif             = notif;
     _claimCategory     = claimCategory;
     _candidate         = candidate;
     _vacancy           = vacacncy;
     _userManager       = userManager;
     _userHelper        = userHelper;
     _allowForm         = allowForm;
     _file              = file;
     _hostConfiguration = hostConfiguration.Value;
     _srf = srf;
 }
 public ActivityCodeController(IActivityCodeService activityCodeSvc)
 {
     _activityCodeSvc = activityCodeSvc;
 }