예제 #1
0
        public JsonResult GetList(int pageSize, int pageNumber)
        {
            Book.BLL.T_Stock_Report          bll  = new BLL.T_Stock_Report();
            List <Book.Model.T_Stock_Report> list = bll.GetList(pageNumber, pageSize);
            int count = bll.GetCount();

            return(Json(new { total = count, rows = list }));
            //return Json(list);
        }
예제 #2
0
        public ActionResult Index()
        {
            Book.BLL.T_Base_Admin admin = new BLL.T_Base_Admin();
            ViewBag.admin = admin.GetCount();

            Book.BLL.T_Base_Book book = new BLL.T_Base_Book();
            ViewBag.book = book.GetCount();

            Book.BLL.T_Base_Provider provider = new BLL.T_Base_Provider();
            ViewBag.provider = provider.GetCount();

            Book.BLL.T_Base_Customer customer = new BLL.T_Base_Customer();
            ViewBag.customer = provider.GetCount();

            Book.BLL.T_Stock_Report stock = new BLL.T_Stock_Report();
            ViewBag.stock = stock.GetCount();


            return(View());
        }