Ejemplo n.º 1
0
 public ActionResult Edit(Peripheral peripheral)
 {
     try
     {
         _iFPeripheral.Update(peripheral);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         return(View());
     }
 }
Ejemplo n.º 2
0
        public ActionResult Update(Peripheral peripheral)
        {
            var createdPeripheral = _iFPeripheral.Update(UserId, peripheral);

            return(RedirectToAction("Index"));
        }