Ejemplo n.º 1
0
 //GET: Admin/ShipmentManager/Edit
 public ActionResult Edit(int id)
 {
     try
     {
         var model = m_shipmentWorker.GetManagerShipmentTypesEdit(id);
         this.StatusList(model.Status);
         this.Pair2List <ShipmentTypesEditViewModel, short, short>(ShipmentListProvider.GetMethodList(), m => m.PricingMethod, model.PricingMethod.ToString());
         return(View(model));
     }
     catch (Exception ex)
     {
         this.ShowError(ex);
         return(null);
     }
 }