public Despesa ObterPorId(Guid id)
 {
     return(_despesaRepository.ObterPorId(id));
 }
示例#2
0
 private async Task <DespesaViewModel> ObterDespesa(Guid id)
 {
     return(_mapper.Map <DespesaViewModel>(await _despesaRepository.ObterPorId(id)));
 }