Exemple #1
0
 public OrderController(IOrderControllerService orderControllerService)
 {
     if (orderControllerService == null)
     {
         throw new ArgumentNullException(nameof(orderControllerService));
     }
     _orderControllerService = orderControllerService;
 }
Exemple #2
0
 public OrderController(IOrderControllerService service)
 {
     _service = service;
 }
Exemple #3
0
 public OrderController(IOrderControllerService service)
 {
     _service = service;
 }
Exemple #4
0
 public OrderController(IOrderControllerService orderControllerService)
 {
     _orderControllerService = orderControllerService ?? throw new ArgumentNullException(nameof(orderControllerService));
 }
 public OrderController(IOrderControllerService orderControllerService)
 {
     if (orderControllerService == null) throw new ArgumentNullException(nameof(orderControllerService));
     _orderControllerService = orderControllerService;
 }