public ShipmentSpecialistController
 (
     ShipmentSpecialistService shipmentSpecialistService,
     IMapper <ShipmentSpecialist, ShipmentSpecialistViewModel> mapperToViewModel,
     IMapper <ShipmentSpecialistViewModel, ShipmentSpecialist> mapperToShipmentSpesialist
 )
 {
     _shipmentSpecialistService  = shipmentSpecialistService;
     _mapperToViewModel          = mapperToViewModel;
     _mapperToShipmentSpesialist = mapperToShipmentSpesialist;
 }
Exemplo n.º 2
0
 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;
 }