Пример #1
0
 public OrderController(IOrderControllerService orderControllerService)
 {
     if (orderControllerService == null)
     {
         throw new ArgumentNullException(nameof(orderControllerService));
     }
     _orderControllerService = orderControllerService;
 }
Пример #2
0
 public OrderController(IOrderControllerService service)
 {
     _service = service;
 }
Пример #3
0
 public OrderController(IOrderControllerService service)
 {
     _service = service;
 }
Пример #4
0
 public OrderController(IOrderControllerService orderControllerService)
 {
     _orderControllerService = orderControllerService ?? throw new ArgumentNullException(nameof(orderControllerService));
 }
Пример #5
0
 public OrderController(IOrderControllerService orderControllerService)
 {
     if (orderControllerService == null) throw new ArgumentNullException(nameof(orderControllerService));
     _orderControllerService = orderControllerService;
 }