예제 #1
0
        public IActionResult Create()
        {
            var listCate  = _dB.AllCategory();
            var listBrand = _dB.AllBrand();

            ViewBag.listBrand = listBrand;
            ViewBag.listCate  = listCate;
            return(View());
        }