public ShipmentDestinationController ( ShipmentDestinationService shipmentDestinationService, IMapper <ShipmentDestination, ShipmentDestinationViewModel> mapperToViewModel, IMapper <ShipmentDestinationViewModel, ShipmentDestination> mapperToShipmentDestination ) { _shipmentDestinationService = shipmentDestinationService; _mapperToViewModel = mapperToViewModel; _mapperToShipmentDestination = mapperToShipmentDestination; }
public OrderController( OrderService orderService, IMapper <Order, OrderViewModel> mapper, IMapper <OrderViewModel, Order> mapperToOrder, ManagerService managerService, ShipmentSpecialistService shipmentSpecialistService, ShipmentDestinationService shipmentDestinationService) { _orderService = orderService; _mapperToViewModel = mapper; _mapperToOrder = mapperToOrder; _managerService = managerService; _shipmentSpecialistService = shipmentSpecialistService; _shipmentDestinationService = shipmentDestinationService; }