Exemple #1
0
 public async Task <Disciplina> ObterPorId(int id)
 {
     return(await _DisciplinaRepository.ObterPorId(id));
 }
Exemple #2
0
 public async Task <DisciplinaViewModel> ObterPorId(Guid id)
 {
     return(_mapper.Map <DisciplinaViewModel>(await _disciplinaRepository.ObterPorId(id)));
 }