public CustomersApiController(ILogger <CustomersApiController> logger, ICustomerCreateService customerCreateService, ICustomerGetService customerGetService, ICustomerUpdateService customerUpdateService, IMapper mapper)
 {
     Logger = logger;
     CustomerCreateService = customerCreateService;
     CustomerGetService    = customerGetService;
     CustomerUpdateService = customerUpdateService;
     Mapper = mapper;
 }
Exemple #2
0
 public OrdersController(ILogger <OrdersController> logger, IOrderCreateService orderCreateService, IOrderGetService orderGetService, IOrderUpdateService orderUpdateService, IBookGetService bookGetService, ICustomerGetService customerGetService, IMapper mapper)
 {
     Logger             = logger;
     OrderCreateService = orderCreateService;
     OrderGetService    = orderGetService;
     OrderUpdateService = orderUpdateService;
     BookGetService     = bookGetService;
     CustomerGetService = customerGetService;
     Mapper             = mapper;
 }
Exemple #3
0
 public OrderUpdateService(IOrderDataAccess orderDataAccess, IBookGetService bookGetService, ICustomerGetService customerGetService)
 {
     OrderDataAccess    = orderDataAccess;
     BookGetService     = bookGetService;
     CustomerGetService = customerGetService;
 }