Ejemplo n.º 1
0
 public JsonResult LoadCustomerTransportPrice(string planId, string carType)
 {
     string strErrText;
     CustomerSystem customer = new CustomerSystem();
     CustomerTransportPrice data = customer.LoadCustomerTransportPriceByPlanId(long.Parse(planId), carType, LoginAccountId, LoginStaffName, out strErrText);
     if (data == null)
     {
         return Json(0, JsonRequestBehavior.AllowGet);
     }
     else
     {
         return Json(data.TransportPrice, JsonRequestBehavior.AllowGet);
     }
 }