Ejemplo n.º 1
0
 public TimeEntryCreator(ITimeEntryStorage timeEntryStorage, IFlexhourStorage flexHourStorage, IOptionsMonitor <TimeEntryOptions> timeEntryOptions)
 {
     _timeEntryStorage = timeEntryStorage;
     _flexHourStorage  = flexHourStorage;
     _timeEntryOptions = timeEntryOptions;
     _flexTask         = _timeEntryOptions.CurrentValue.FlexTask;
 }
Ejemplo n.º 2
0
 public TimeEntriesController(RetrieveUsers userRetriever, ITimeEntryStorage storage, TimeEntryCreator creator, IOptionsMonitor <TimeEntryOptions> timeEntryOptions)
 {
     _userRetriever    = userRetriever;
     _storage          = storage;
     _creator          = creator;
     _timeEntryOptions = timeEntryOptions;
     _reportUser       = _timeEntryOptions.CurrentValue.ReportUser;
 }
Ejemplo n.º 3
0
 public FlexhourStorage(ITimeEntryStorage timeEntryStorage, AlvTime_dbContext context, IOptionsMonitor <TimeEntryOptions> timeEntryOptions)
 {
     _timeEntryStorage      = timeEntryStorage;
     _context               = context;
     _timeEntryOptions      = timeEntryOptions;
     _flexTask              = _timeEntryOptions.CurrentValue.FlexTask;
     _paidHolidayTask       = _timeEntryOptions.CurrentValue.PaidHolidayTask;
     _unpaidHolidayTask     = _timeEntryOptions.CurrentValue.UnpaidHolidayTask;
     _startOfOvertimeSystem = _timeEntryOptions.CurrentValue.StartOfOvertimeSystem;
 }
Ejemplo n.º 4
0
 public HolidayController(
     RetrieveUsers userRetriever,
     IOptionsMonitor <TimeEntryOptions> timeEntryOptions,
     ITimeEntryStorage timeEntryStorage,
     IRedDaysService redDaysService,
     ILogger <HolidayController> logger,
     IAbsenseDaysService absenseDaysService)
 {
     _userRetriever      = userRetriever;
     _timeEntryOptions   = timeEntryOptions;
     _timeEntryStorage   = timeEntryStorage;
     _redDaysService     = redDaysService;
     _absenseDaysService = absenseDaysService;
     _logger             = logger;
 }
Ejemplo n.º 5
0
 public TimeEntriesController(RetrieveUsers userRetriever, ITimeEntryStorage storage, TimeEntryCreator creator)
 {
     _userRetriever = userRetriever;
     _storage       = storage;
     _creator       = creator;
 }
Ejemplo n.º 6
0
 public AbsenseDaysService(ITimeEntryStorage timeEntryStorage, IOptionsMonitor <TimeEntryOptions> timeEntryOptions)
 {
     this.timeEntryStorage = timeEntryStorage;
     this.timeEntryOptions = timeEntryOptions;
 }
Ejemplo n.º 7
0
 public TimeEntryCreator(ITimeEntryStorage storage)
 {
     _storage = storage;
 }
Ejemplo n.º 8
0
 public FlexhourStorage(ITimeEntryStorage storage, AlvTime_dbContext context)
 {
     _storage = storage;
     _context = context;
 }