예제 #1
0
 public ActionResult Details(int Id)
 {
     try
     {
         var RAM = _LoadService.LoadById(Id);
         ViewBag.SelectedRAM      = RAM;
         ViewBag.TheSameTrademark = _LoadService.LoadByTrademark(RAM.TradeMark).Where(x => x.Id != RAM.Id).ToList();
     }
     catch (Exception e) { }
     return(View());
 }
예제 #2
0
 public ActionResult Update(int Id)
 {
     ViewBag.SelectedRAM = _LoadService.LoadById(Id);
     return(View());
 }