예제 #1
0
 public EffortsController(ISessionAdapter sessionAdapter, IAddNewJobTaskComboCommand addNewJobTaskComboCommand, IRemoveRowCommand removeRowCommand, IModifyJobTaskComboCommand modifyJobTaskComboCommand)
 {
     _sessionAdapter            = sessionAdapter;
     _addNewJobTaskComboCommand = addNewJobTaskComboCommand;
     _removeRowCommand          = removeRowCommand;
     _modifyJobTaskComboCommand = modifyJobTaskComboCommand;
 }
예제 #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;
 }