// GET: Persona/Details/5 public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var persona = await _personaRepository.GetById(id); if (persona == null) { return(NotFound()); } return(View(persona)); }
public async Task <Personas> GetPersonaById(long id) { var persona = await _personaRepository.GetById(id); return(persona.Result); }
Sg02_Persona ObtenerPersonaId(long id) => _personaRepository.GetById <Sg02_Persona>(id);
public PERSONA GetById(string Id) { return(_personaRepository.GetById(Id)); }