示例#1
0
        public ActionResult Index()
        {
            ViewBag.ListComputer = _LoadComputer.Load();
            ViewBag.ListVGA      = _LoadVGA.Load();
            ViewBag.ListRAM      = _LoadRAM.Load();
            ViewBag.ListCPU      = _LoadCPU.Load();
            ViewBag.ListCase     = _LoadCase.Load();

            return(View());
        }
示例#2
0
 // GET: Admin/Case
 public ActionResult Index()
 {
     ViewBag.Cases = _LoadService.Load();
     return(View());
 }