Exemplo n.º 1
0
 public ActionResult Details(int Id)
 {
     try
     {
         var Keyboard = _LoadService.LoadById(Id);
         ViewBag.SelectedKeyboard = Keyboard;
         ViewBag.TheSameTrademark = _LoadService.LoadByTradeMark(Keyboard.TradeMark).Where(x => x.Id != Keyboard.Id).ToList();
     }
     catch (Exception e) { }
     return(View());
 }
Exemplo n.º 2
0
 public ActionResult Update(int Id)
 {
     ViewBag.SelectedKeyboard = _LoadService.LoadById(Id);
     return(View());
 }