public async Task <IActionResult> Index() { var model = new DespesaModel(); model.Itens = await despesaFacade.ToListAsync(null).ToPagedListAsync(PAGE_SIZE, 1); return(View(model)); }
public Task <IList <Despesa> > Buscar([FromBody] Despesa filtro) => _despesaFacade.ToListAsync(filtro);