public ActionResult Editar(PacienteTO paciente) { ServicoSOAP servicoSOAP = new ServicoSOAP(); servicoSOAP.AtualizaPaciente(paciente); return(View("Sucesso")); }
public ActionResult Editar(int id) { ServicoSOAP servicoSOAP = new ServicoSOAP(); return(View(servicoSOAP.GetPacientePorId(id))); }
public ActionResult Index() { ServicoSOAP servicoSOAP = new ServicoSOAP(); return(View(servicoSOAP.GetMeusPacientes())); }