public async Task <ActionResult <DocenteDtoPresentar> > GetById(int id) { if (_DocenteService.Existencia(id) == true) { return(await _DocenteService.GetById(id)); } else { return(NotFound()); } }
public async Task <ActionResult <DocenteDtoPresentar> > GetById(int id) { if (_DocenteService.Existencia(id) == true) { return(await _DocenteService.GetById(id)); } else { return(NotFound()); } }