예제 #1
0
        public async Task <IActionResult> Index()
        {
            var model = new DespesaModel();

            model.Itens = await despesaFacade.ToListAsync(null).ToPagedListAsync(PAGE_SIZE, 1);

            return(View(model));
        }
예제 #2
0
 public Task <IList <Despesa> > Buscar([FromBody] Despesa filtro) => _despesaFacade.ToListAsync(filtro);