public ExecuteCommandResult(ExpenseReport expenseReport, string command, IWorkflowFacilitator facilitator, IStateCommandVisitor visitor, IUserSession session, INotifier notifier) { _expenseReport = expenseReport; _session = session; _notifier = notifier; _command = command; _facilitator = facilitator; _visitor = visitor; }
public ExpenseReportController(IExpenseReportBuilder expenseReportBuilder, IUserSession session, IWorkflowFacilitator workflowFacilitator, Bus bus, ICalendar calendar) { _expenseReportBuilder = expenseReportBuilder; _session = session; _workflowFacilitator = workflowFacilitator; _bus = bus; _calendar = calendar; }
public ExpenseReportController(IEmployeeRepository employeeRepository, IExpenseReportRepository expenseReportRepository, IExpenseReportBuilder expenseReportBuilder, IUserSession session, IWorkflowFacilitator workflowFacilitator, IStateCommandVisitor stateCommandVisitor) { _employeeRepository = employeeRepository; _expenseReportRepository = expenseReportRepository; _expenseReportBuilder = expenseReportBuilder; _session = session; _workflowFacilitator = workflowFacilitator; }