Example #1
0
 public CustomersApiController(ILogger <CustomersApiController> logger, ICustomerCreateService customerCreateService, ICustomerGetService customerGetService, ICustomerUpdateService customerUpdateService, IMapper mapper)
 {
     Logger = logger;
     CustomerCreateService = customerCreateService;
     CustomerGetService    = customerGetService;
     CustomerUpdateService = customerUpdateService;
     Mapper = mapper;
 }
Example #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;
 }
Example #3
0
 public OrderUpdateService(IOrderDataAccess orderDataAccess, IBookGetService bookGetService, ICustomerGetService customerGetService)
 {
     OrderDataAccess    = orderDataAccess;
     BookGetService     = bookGetService;
     CustomerGetService = customerGetService;
 }