public ActionResult Detele(int id) { BusinessBLL bll = new BusinessBLL(); bool b = bll.DeteleBusiness(id); return(Json(new { success = b }, JsonRequestBehavior.AllowGet)); }
public ActionResult SearchPay(Business business) { business.page = int.Parse(Request["page"]); business.rows = int.Parse(Request["rows"]); BusinessBLL bll = new BusinessBLL(); BusinessList businessList = bll.getBusinessList(business); return(Json(businessList, JsonRequestBehavior.AllowGet)); }