コード例 #1
0
 /// <summary></summary>
 public PackageTypesController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IPackageTypeService service)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _service         = service;
 }
コード例 #2
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;
 }
コード例 #3
0
 public PackageTypesController(
     IPackageTypeService packageTypeService,
     IResponseDTO response,
     IHttpContextAccessor httpContextAccessor) : base(response, httpContextAccessor)
 {
     _packageTypeService = packageTypeService;
 }
コード例 #4
0
ファイル: PackagesController.cs プロジェクト: sap-sh/t
 //Set up constructor injection
 public PackagesController(IPackageService packageService, IPackageTypeService packageTypeService, IEventLoggerService eventLoggerService, IProgramLinesService programLinesService)
 {
     _packageService = packageService;
     _packageTypeService = packageTypeService;
     _eventLoggerService = eventLoggerService;
     _programLinesService = programLinesService;
 }
コード例 #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;
 }
コード例 #6
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;
 }
コード例 #7
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>();
 }
コード例 #8
0
 public PackageTypeController(IPackageTypeService service)
 {
     _service = service;
 }