コード例 #1
0
 private async Task <FormaPagamentoViewModel> Obter(Guid id)
 {
     return(_mapper.Map <FormaPagamentoViewModel>(await _formaPagamentoService.Obter(id)));
 }
コード例 #2
0
 public ActionResult <FormaPagamento> Get(int id)
 {
     return(_service.Obter(id));
 }