Esempio n. 1
0
        public ActionResult AddOrEditGroupCategory(int id = 0)
        {
            SetViewBag();
            var typeProduct = new GroupCategory();

            if (id != 0)
            {
                typeProduct = danhMucDAO.GetGroupCategoryByID(id);
            }
            return(View(typeProduct));
        }