public ActionResult Edit(Paciente paciente)
 {
     if (ModelState.IsValid)
     {
         db.Edit(paciente);
         return(RedirectToAction("Index"));
     }
     return(View(paciente));
 }
        public ActionResult Edit(int id, Paciente paciente)
        {
            var biz = new PacienteProcess();

            paciente.ClienteId = clienteoriginal.Id;
            bool result = biz.Edit(paciente);

            if (result)
            {
                return(RedirectToAction("Index", "Paciente", new { id = clienteoriginal.Id }));
            }
            else
            {
                return(View());
            }
        }