public void HienThiCategory()
        {
            CategoryBusiness categoryBusiness = new CategoryBusiness();
            List <Category>  lstCategory      = categoryBusiness.LayDanhSachCategory();

            ViewBag.Category = new SelectList(lstCategory, "Id", "Name");
        }
        public ActionResult CategoryMain()
        {
            HienThiCategory();
            CategoryBusiness categoryBusiness = new CategoryBusiness();
            List <Category>  lstCategory      = categoryBusiness.LayDanhSachCategory();

            return(PartialView(lstCategory));
        }
        // GET: Category
        public ActionResult Index()
        {
            CategoryBusiness categoryBusiness = new CategoryBusiness();

            List <Category> lstCategory = categoryBusiness.LayDanhSachCategory();

            return(View(lstCategory));
        }