Ejemplo n.º 1
0
 public ActionResult Edit(Paciente paciente)
 {
     if (ModelState.IsValid)
     {
         var p = new PacienteApiProcess();
         p.Update(paciente);
         return(RedirectToAction("Index"));
     }
     return(View(paciente));
 }