public TimeApprovalController(ITimeApprovalService timeApprovalService,
                               IApproveTimeCommand approveTimeCommand,
                               IWeekOfTimeEntriesQuery weekOfTimeEntriesQuery,
                               ITimeApprovalListQuery timeApprovalListQuery,
                               ISessionAdapter sessionAdapter)
 {
     this.timeApprovalService    = timeApprovalService;
     this.approveTimeCommand     = approveTimeCommand;
     this.weekOfTimeEntriesQuery = weekOfTimeEntriesQuery;
     this.timeApprovalListQuery  = timeApprovalListQuery;
     this.sessionAdapter         = sessionAdapter;
 }
Example #2
0
 public TimeEntryController(//IWeekService weekService,
     ICopyPreviousWeekTimeCommand copyPreviousWeekTimeCommand,
     ISaveTimeEntriesCommand saveTimeEntriesCommand,
     IAddNewJobTaskComboCommand addNewJobTaskComboCommand,
     IWeekOfTimeEntriesQuery weekOfTimeEntriesQuery,
     IWeekIdentifierListQuery weekIdentifierListQuery,
     IApproveTimeCommand approveTimeCommand,
     IRemoveRowCommand removeRowCommand,
     IModifyJobTaskComboCommand modifyJobTaskComboCommand,
     ISessionAdapter sessionAdapter,
     IExpenseService expenseService)
 {
     //this.weekService = weekService;
     this.copyPreviousWeekTimeCommand = copyPreviousWeekTimeCommand;
     this.saveTimeEntriesCommand      = saveTimeEntriesCommand;
     this.addNewJobTaskComboCommand   = addNewJobTaskComboCommand;
     this.weekOfTimeEntriesQuery      = weekOfTimeEntriesQuery;
     this.weekIdentifierListQuery     = weekIdentifierListQuery;
     this.approveTimeCommand          = approveTimeCommand;
     this.removeRowCommand            = removeRowCommand;
     this.modifyJobTaskComboCommand   = modifyJobTaskComboCommand;
     this.sessionAdapter = sessionAdapter;
     _expenseService     = expenseService;
 }
Example #3
0
 public TimeController(ISessionAdapter sessionAdapter, ISaveTimeEntriesCommand saveTimeEntriesCommand, IWeekOfTimeEntriesQuery weekOfTimeEntriesQuery)
 {
     _sessionAdapter         = sessionAdapter;
     _saveTimeEntriesCommand = saveTimeEntriesCommand;
     _weekOfTimeEntriesQuery = weekOfTimeEntriesQuery;
 }