Ejemplo n.º 1
0
        public ActionResult TransportContract(int id)
        {
            var transportOrder = _transportOrderService.FindById(id);

            ViewBag.HubID            = _transportOrderService.GetHubs();
            ViewBag.TransportOrderID = id;
            var transportContract = GetTransportOrder(transportOrder);

            return(View(transportContract));
        }
Ejemplo n.º 2
0
        public ActionResult Edit(int id)
        {
            var transportOrder = _transportOrderService.FindById(id);

            if (transportOrder == null)
            {
                return(HttpNotFound());
            }
            return(View(transportOrder));
        }