Beispiel #1
0
        public ActionResult SelectItinerary(string trackingId)
        {
            IList <RouteCandidateDTO> routeCandidatesDto = BookingServiceFacade.RequestPossibleRoutesForCargo(trackingId);
            CargoRoutingDTO           cargoDto           = BookingServiceFacade.LoadCargoForRouting(trackingId);

            var selectItineraryResult = new SelectItineraryViewModel(routeCandidatesDto, cargoDto);

            return(View(selectItineraryResult));
        }
        public ActionResult SelectItinerary(string trackingId)
        {         
            IList<RouteCandidateDTO> routeCandidatesDto = BookingServiceFacade.RequestPossibleRoutesForCargo(trackingId);
            CargoRoutingDTO cargoDto = BookingServiceFacade.LoadCargoForRouting(trackingId);

            var selectItineraryResult = new SelectItineraryViewModel(routeCandidatesDto, cargoDto);

            return View(selectItineraryResult);
        }