コード例 #1
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;
 }
コード例 #2
0
 public CityListsController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ICityService service,
     IAttendaceExceptionListService timeSheet,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _timeSheet = timeSheet;
 }
コード例 #3
0
 public ActivitiesController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     IActivityCodeService service,
     IAttendaceExceptionListService timeSheet,
     ISrfRequestService srf,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _srf       = srf;
     _timeSheet = timeSheet;
 }
コード例 #4
0
 public HomeController(
     IDashboardService dashboard,
     UserManager <ApplicationUser> userManager,
     IUserHelper userHelper,
     IUserProfileService userProfile,
     IAccountNameService account,
     ISrfRequestService srf,
     IAttendaceExceptionListService timeSheet,
     ICandidateInfoService candidate)
 {
     this.userManager = userManager;
     _dashboard       = dashboard;
     _userHelper      = userHelper;
     _userProfile     = userProfile;
     _account         = account;
     _srf             = srf;
     _candidate       = candidate;
     _timeSheet       = timeSheet;
 }
コード例 #5
0
 public AccountNamesController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService srf,
     IVacancyListService vacancy,
     IAccountNameService service,
     IUserHelper userHelper,
     IAttendaceExceptionListService timeSheet,
     ExcelHelper excelHelper,
     CommonHelper helper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     this.excelHelper = excelHelper;
     this.helper      = helper;
     _srf             = srf;
     _vacancy         = vacancy;
     _timeSheet       = timeSheet;
 }
コード例 #6
0
ファイル: CostCentersController.cs プロジェクト: feblaw/ebast
 public CostCentersController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ICostCenterService service,
     ISrfRequestService srf,
     IVacancyListService vacancy,
     IAttendaceExceptionListService timeSheet,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     Includes = new Expression <Func <CostCenter, object> >[1]
     {
         center => center.Departement
     };
     _srf       = srf;
     _vacancy   = vacancy;
     _timeSheet = timeSheet;
 }
コード例 #7
0
 public DepartementsController(
     IUserProfileService userProfile,
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     ISrfRequestService srf,
     IVacancyListService vacancy,
     IMapper mapper,
     IAttendaceExceptionListService timeSheet,
     IDepartementService service, IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     Includes = new Expression <Func <Departement, object> >[1]
     {
         departement => departement.Head,
         //departement => departement.Head.UserProfile
     };
     _userHelper = UserHelper;
     _srf        = srf;
     _vacancy    = vacancy;
     _timeSheet  = timeSheet;
 }
コード例 #8
0
 public DepartementSubsController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService srf,
     IVacancyListService vacancy,
     IAttendaceExceptionListService timeSheet,
     IDepartementSubService service,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     Includes = new Expression <Func <DepartementSub, object> >[2]
     {
         sub => sub.Departement,
         sub => sub.LineManager,
         //sub => sub.LineManager.UserProfile
     };
     _srf       = srf;
     _vacancy   = vacancy;
     _timeSheet = timeSheet;
 }
コード例 #9
0
 public NetworkNumbersController(
     IHttpContextAccessor httpContextAccessor,
     IUserService userService,
     IMapper mapper,
     ISrfRequestService srf,
     IVacancyListService vacancy,
     INetworkNumberService service,
     IAttendaceExceptionListService timeSheet,
     IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     Includes = new Expression <Func <NetworkNumber, object> >[5]
     {
         number => number.Departement,
         number => number.LineManager,
         number => number.Project,
         number => number.AccountName,
         number => number.ProjectManager,
     };
     _srf       = srf;
     _vacancy   = vacancy;
     _timeSheet = timeSheet;
 }