public OrderController( IApplicationLocale applicationLocale, IDomainMicroService domainMicroService, IOrderUserService orderUserService) : base( applicationLocale, domainMicroService) { OrderUserService = orderUserService ?? throw new ArgumentNullException(nameof(orderUserService)); }
public ReturnController( IApplicationLocale applicationLocale, IDomainMicroService domainMicroService, IFulfillmentMicroService fulfillmentMicroService, IOrderUserService orderUserService) : base( applicationLocale, domainMicroService) { FulfillmentMicroService = fulfillmentMicroService ?? throw new ArgumentNullException(nameof(fulfillmentMicroService)); OrderUserService = orderUserService ?? throw new ArgumentNullException(nameof(OrderUserService)); }
public AddOrderHandler( IUnitOfWork uow, IOrderService orderService, IOrderItemService orderItemService, IProductService productService, IOrderUserService orderUserService ) { _uow = uow; _orderService = orderService; _orderItemService = orderItemService; _productService = productService; _orderUserService = orderUserService; }
public CartUserService( IApplicationRequestServices requestServices, ILogger <CartUserService> logger, IEventProcessorMicroService eventProcessorMicroService, IOrderMicroService orderMicroService, IProjectMicroService projectMicroService, IOrderUserService projectOrderService, ISquareMicroService squareMicroService, IUserMicroService userMicroService) : base(requestServices, logger) { EventProcessorMicroService = eventProcessorMicroService ?? throw new ArgumentNullException(nameof(eventProcessorMicroService)); OrderMicroService = orderMicroService ?? throw new ArgumentNullException(nameof(orderMicroService)); ProjectMicroService = projectMicroService ?? throw new ArgumentNullException(nameof(projectMicroService)); ProjectOrderService = projectOrderService ?? throw new ArgumentNullException(nameof(projectOrderService)); SquareMicroService = squareMicroService ?? throw new ArgumentNullException(nameof(squareMicroService)); UserMicroService = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService)); }
public OrderUserController(IOrderUserService service) { _service = service; }
public OrderUserController(IConfiguration Config, IOrderUserService _order, IHostingEnvironment env) { _OrderUserService = _order; _hostingEnvironment = env; configuration = Config; }