Exemplo n.º 1
0
        public ActionResult Index(int searchString = 0, int page = 1)
        {
            int pagesize = 4;
            var dao      = new BillDao();
            var model    = dao.GetAllBill(searchString, page, pagesize);

            return(View(model));
        }
Exemplo n.º 2
0
 /// <summary>
 /// GetAllBill - lấy về tất cả bill
 /// </summary>
 /// <returns></returns>
 public DataTable GetAllBill()
 {
     return(billDao.GetAllBill());
 }