public ActionResult Index()
 {
     return(View(_Category.GetAllCategorys()));
 }
示例#2
0
 public ActionResult AddItem()
 {
     ViewBag.Category = _category.GetAllCategorys();
     return(View());
 }