public async Task <IActionResult> ObterTodos([FromQuery] PaginationFilter filter)
 {
     return(Ok(ResponseHandler <FormaPagamento, FormaPagamentoViewModel>(await _formaPagamentoService.ObterTodos(filter), filter)));
 }
示例#2
0
 public ActionResult <IEnumerable <FormaPagamento> > Get()
 {
     return(new ActionResult <IEnumerable <FormaPagamento> >(_service.ObterTodos()));
 }