public JsonResult Get_FactoryPrice(string Color, string Brand, string Product, string Version, string DealerCode) { String data; bool result = false; data = BookingOrderMethods.Get_FactoryPrice(Color, Brand, Product, Version, DealerCode); if (!string.IsNullOrEmpty(data)) { result = true; } return(Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet)); }