// GET: Admin/Product

        public ActionResult Index(int?page, int?PageSize, string searching = "")
        {
            ViewBag.SearchString = searching;
            ViewBag.PageSize     = new List <SelectListItem>()
            {
                new SelectListItem()
                {
                    Value = "10", Text = "10"
                },
                new SelectListItem()
                {
                    Value = "15", Text = "15"
                },
                new SelectListItem()
                {
                    Value = "20", Text = "20"
                },
                new SelectListItem()
                {
                    Value = "25", Text = "25"
                },
                new SelectListItem()
                {
                    Value = "50", Text = "50"
                }
            };
            int pageNumber = (page ?? 1);
            int pagesize   = (PageSize ?? 10);

            ViewBag.psize = pagesize;
            ViewBag.Count = Bdao.ListSimple(searching).Count();
            return(View(Bdao.ListSimpleSearch(pageNumber, pagesize, searching)));
        }