Ejemplo n.º 1
0
 public ActionResult Update(Byod byod)
 {
     try
     {
         byod = _iFByod.Update(byod);
         return(RedirectToAction("Index", "Byod"));
     }
     catch (Exception ex)
     {
         return(View(byod));
     }
 }
Ejemplo n.º 2
0
        public ActionResult Update(Byod byod)
        {

            try
            {
                byod = _iFByod.Update(byod);

                return RedirectToAction("Index");
            }
            catch
            {
                return View(byod);
            }
        }