예제 #1
0
        public ActionResult Detele(int id)
        {
            BusinessBLL bll = new BusinessBLL();
            bool        b   = bll.DeteleBusiness(id);

            return(Json(new { success = b }, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        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));
        }