public ActionResult Index() { var li = CacheAccess.GetFactorys(_factorysContract, true); ViewBag.GetFactorys = li; ViewBag.GetBrand = CacheAccess.GetBrand(_brandContract, true, false); return(View()); }
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()); }