Exemple #1
0
 // GET: Persona2
 public ActionResult Index()
 {
     SRPersona.SPersonasClient personas = new SRPersona.SPersonasClient();
     return(View(personas.GetPersonas().ToList()));
 }
Exemple #2
0
 public ActionResult Detalle(int id)
 {
     SRPersona.SPersonasClient persona = new SRPersona.SPersonasClient();
     return(View(persona.GetPersona(id)));
 }