public JsonResult Details(int id) { var product = ProductBus.ViewProduct(id); return(Json(new { data = product, status = true }, JsonRequestBehavior.AllowGet)); }
public JsonResult Details(int id) { var product = ProductBus.ViewProduct(id); return(Json(new { data = product, status = true }, JsonRequestBehavior.AllowGet)); }