Example #1
0
 public ProfileController(UserManager <ApplicationUser> userManager,
                          IUserProfileService userProfileService,
                          IUserHelper userHelper,
                          ICandidateInfoService candidate,
                          IDepartementService department,
                          IDepartementSubService departmentSub,
                          IVacancyListService vacancy,
                          IServicePackService ssow,
                          ICityService city,
                          ISrfRequestService srf,
                          IMapper mapper,
                          FileHelper fileHelper,
                          ConfigHelper config)
 {
     _userManager        = userManager;
     _userProfileService = userProfileService;
     _userHelper         = userHelper;
     _mapper             = mapper;
     _fileHelper         = fileHelper;
     _config             = config;
     _cropSuffix         = _config.GetConfig("crop.suffix");
     _userDir            = _config.GetConfig("user.upload.directory");
     _candidate          = candidate;
     _department         = department;
     _departmentSub      = departmentSub;
     _vacancy            = vacancy;
     _ssow = ssow;
     _city = city;
     _srf  = srf;
 }
Example #2
0
 public VacancyController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IHostingEnvironment env,
     IMapper mapper,
     FileHelper fileHelper,
     ICostCenterService costCenter,
     IServicePackService servicePack,
     IServicePackCategoryService servicePackCategory,
     IVacancyListService service,
     UserManager <ApplicationUser> userManager,
     IDepartementService department,
     INetworkNumberService network,
     IDepartementSubService departmentSub,
     IMapAsgBastService mapAsgBast,
     IUserHelper userHelper) : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _env                 = env;
     _fileHelper          = fileHelper;
     _costCenter          = costCenter;
     _servicePack         = servicePack;
     _servicePackCategory = servicePackCategory;
     _department          = department;
     _departmentSub       = departmentSub;
     _userManager         = userManager;
     _userHelper          = userHelper;
     _network             = network;
     _mapAsgBast          = mapAsgBast;
 }
Example #3
0
 public ContractorDataController
     (IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     ConfigHelper config,
     IMapper mapper,
     ISrfRequestService service,
     ICandidateInfoService contractor,
     IUserProfileService userProfile,
     IServicePackService servicePack,
     IVacancyListService vacancy,
     IServicePackCategoryService servicePackCategory,
     UserManager <ApplicationUser> userManager,
     ICityService city,
     IPackageTypeService packageType,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _userHelper          = userHelper;
     _contractor          = contractor;
     _userProfile         = userProfile;
     _servicePack         = servicePack;
     _servicePackCategory = servicePackCategory;
     _city        = city;
     _userManager = userManager;
     _vacancy     = vacancy;
     _packageType = packageType;
     _config      = config;
 }
Example #4
0
 public AllowanceListsController(IHttpContextAccessor httpContextAccessor, IUserService userService, IMapper mapper, IAllowanceListService service, IUserHelper userHelper, IServicePackService servicePack) : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.servicePack = servicePack;
     Includes         = new Expression <Func <AllowanceList, object> >[2]
     {
         list => list.ServicePack,
         list => list.ServicePack.ServicePackCategory
     };
 }
Example #5
0
 public EscalationController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService srf,
     ISrfEscalationRequestService service,
     IVacancyListService vacancy,
     ICandidateInfoService candidate,
     IDepartementService department,
     IHostingEnvironment env,
     IServicePackService ssow,
     IPackageTypeService packageType,
     ICostCenterService costCenter,
     MailingHelper mailingHelper,
     IOptions <HostConfiguration> hostConfiguration,
     NotifHelper notif,
     IDepartementSubService departmentSub,
     IServicePackCategoryService ssowCategory,
     IJobStageService jobsTage,
     IUserProfileService profileService,
     INetworkNumberService network,
     IAccountNameService account,
     UserManager <ApplicationUser> userManager,
     RoleManager <ApplicationRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     FileHelper fileHelper,
     ConfigHelper config,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _srf               = srf;
     _vacancy           = vacancy;
     _candidate         = candidate;
     _department        = department;
     _packageType       = packageType;
     _ssow              = ssow;
     _ssowCategory      = ssowCategory;
     _jobStage          = jobsTage;
     _departmentSub     = departmentSub;
     _profileService    = profileService;
     _network           = network;
     _account           = account;
     _env               = env;
     _notif             = notif;
     _hostConfiguration = hostConfiguration.Value;
     _mailingHelper     = mailingHelper;
     _userHelper        = userHelper;
     _costCenter        = costCenter;
     _userManager       = userManager;
     _roleManager       = roleManager;
     _fileHelper        = fileHelper;
     _config            = config;
 }
Example #6
0
 public AllowanceListController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     IAllowanceListService service,
     IUserHelper userHelper,
     IServicePackService servicePack,
     IHostingEnvironment environment,
     ExcelHelper excel,
     IServicePackCategoryService ServicePackCategory)
     : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.servicePack         = servicePack;
     this.ServicePackCategory = ServicePackCategory;
     _environment             = environment;
     _excel      = excel;
     _userHelper = userHelper;
 }
Example #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;
 }
Example #8
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>();
 }