////Display, create, edit, delete Warehouse
        //Index page of Warehouse management
        public ActionResult Index(string searchString, int page = 1, int pageSize = 10)
        {
            var dao   = new WarehouseDao();
            var model = dao.ListAllPaging(searchString, page, pageSize);

            ViewBag.SearchString = searchString;
            ViewBag.PageSize     = pageSize;
            return(View(model));
        }
        // GET: admin/khohang
        public ActionResult index(string search, int page = 1, int pageSize = 5)
        {
            var dao = new WarehouseDao();
            //Tạo page sử dụng Pagedlist
            var model = dao.ListAllPaging(search, page, pageSize);

            ViewBag.Search = search;
            return(View(model));
        }