コード例 #1
0
 public ActionResult Details(int Id)
 {
     try
     {
         var Radiator = _LoadService.LoadById(Id);
         ViewBag.SelectedRadiator = Radiator;
         ViewBag.TheSameTrademark = _LoadService.LoadByTrademark(Radiator.TradeMark).Where(x => x.Id != Radiator.Id).ToList();
     }
     catch (Exception e) { }
     return(View());
 }
コード例 #2
0
 public ActionResult Update(int Id)
 {
     ViewBag.SelectedRadiator = _LoadService.LoadById(Id);
     return(View());
 }