Ejemplo n.º 1
0
 public CustomerController(IMapper mapper,
                           ICustomerQueryService customerQueryService,
                           ICustomerCommandService customerCommandService)
 {
     _mapper = mapper;
     _customerQueryService   = customerQueryService;
     _customerCommandService = customerCommandService;
 }
Ejemplo n.º 2
0
 public CustomerController(ICustomerQueryService queryService, ICustomerCommandService commandService)
 {
     _command = commandService;
     _query   = queryService;
 }
Ejemplo n.º 3
0
 public CustomerController(ICustomerCommandService customerCommandService,
                           ICustomerQueryService customerQueryService)
 {
     _customerCommandService = customerCommandService;
     _customerQueryService   = customerQueryService;
 }