Esempio n. 1
0
 public ShipmentService(IShipmentRepository repo, IOrderRepository orderRepository, IOrderStatusesService statusesService, IMapper mapper)
 {
     _repo            = repo;
     _mapper          = mapper;
     _orderRepository = orderRepository;
     _statusesService = statusesService;
 }
 public OrderStatusChangesController(
     IUserContext userContext,
     IOrderStatusChangesService orderStatusChangesService,
     IOrderStatusesService orderStatusesService)
     : base(userContext)
 {
     _orderStatusChangesService = orderStatusChangesService;
     _orderStatusesService      = orderStatusesService;
 }
Esempio n. 3
0
 public OrdersController(IOrderService orderService, IProductService productService,
                         IOrderStatusesService orderStatusesService, IMapper mapper, IApplicationUserService userService)
 {
     _mapper               = mapper;
     _orderService         = orderService;
     _productService       = productService;
     _orderStatusesService = orderStatusesService;
     _userService          = userService;
 }
Esempio n. 4
0
 public AccountantController(IOrderService ordersService, IOrderStatusesService orderStatusesService, IMapper mapper)
 {
     _ordersService        = ordersService;
     _orderStatusesService = orderStatusesService;
     _mapper = mapper;
 }
 public OrderStatusesController(IOrderStatusesService service)
 {
     _service = service;
 }