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()); }
public ActionResult Update(int Id) { ViewBag.SelectedRAM = _LoadService.LoadById(Id); return(View()); }