Exemplo n.º 1
0
 public Nationality GetNationalityById(int id)
 {
     return(_nationalityRepository.GetById(id));
 }
 public async Task <NationalityReadResource> GetNationality(int id)
 {
     return(mapper.Map <Nationality, NationalityReadResource>(await repo.GetById(id)));
 }