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