Пример #1
0
        public ActionResult Home()
        {
            _BDKrishokDB db = new _BDKrishokDB();

            ViewBag.Categories = db.Category.Where(c => c.SubCategory == null).ToList();

            return(View());
        }