public JsonResult Insert_VehLocTransDetail(List <VehicleLocTransVM> objects) { bool result = false; string msg = "Failed to save record.."; result = VehLocTransMethods.Insert_VehLocTransDetail(objects, Session["DealerCode"].ToString(), ref msg); if (result) { msg = "Successfully Added"; } return(Json(new { Success = result, Message = msg }, JsonRequestBehavior.AllowGet)); }
public JsonResult Select_VehicleDetailForVehicleTransferLocation(string EnquiryId) { string data; bool result = false; data = VehLocTransMethods.GetVehicleDetail(EnquiryId, Session["DealerCode"].ToString()); if (!string.IsNullOrEmpty(data)) { result = true; } return(Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet)); }
public JsonResult Select_ChassisNoForVehicleLocation(string EnquiryId, string DealerCode) { List <VehicleStockVM> data; bool result = false; string msg = ""; data = VehLocTransMethods.Get_ChasisNoForVehicleTransLoc(EnquiryId, DealerCode, ref msg); if (data.Count > 0) { result = true; } return(Json(new { Success = result, Response = data, Message = msg }, JsonRequestBehavior.AllowGet)); }
public JsonResult Select_VehLocTrans(string EnquiryId) { string data = ""; bool result = false; string msg = ""; data = VehLocTransMethods.Get_VehLocTransData(EnquiryId, Session["DealerCode"].ToString(), ref msg); if (!string.IsNullOrEmpty(data)) { result = true; } return(Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet)); }