public CustomerController( CustomerCommandHandler commandHandler, CustomerQueryHandler queryHandler) { _commandHandler = commandHandler; _queryHandler = queryHandler; }
public CustomerTicketController(CustomerCommandHandler customerCommandHandler, CustomerQueryHandler customerQueryHandler, TicketCommandHandler ticketCommandHandler, TicketQueryHandler ticketQueryHandler) { _customerCommandHandler = customerCommandHandler; _customerQueryHandler = customerQueryHandler; _ticketCommandHandler = ticketCommandHandler; _ticketQueryHandler = ticketQueryHandler; }
public CustomerController(CustomerQueryHandler customerQueryHandler, ICommandHandler <Customer> customerCommandHandler) { this.customerQueryHandler = customerQueryHandler; this.customerCommandHandler = customerCommandHandler; }
public CustomerController(CustomerCommandHandler customerCommandHandler, CustomerQueryHandler customerQueryHandler) { _customerCommandHandler = customerCommandHandler; _customerQueryHandler = customerQueryHandler; }