Пример #1
0
        public ActionResult Index()
        {
            var li = CacheAccess.GetFactorys(_factorysContract, true);

            ViewBag.GetFactorys = li;

            ViewBag.GetBrand = CacheAccess.GetBrand(_brandContract, true, false);
            return(View());
        }
Пример #2
0
 public ActionResult Create()
 {
     ViewBag.GetFactorys = CacheAccess.GetFactorys(_factorysContract, true);
     ViewBag.GetBrand    = CacheAccess.GetBrand(_brandContract, false, false);
     return(PartialView());
 }
 public ActionResult Index()
 {
     ViewBag.Factorys = CacheAccess.GetFactorys(_factoryContract, true);
     return(View());
 }