public async Task GetContas() { try { ContaService service = new ContaService(); Contas = await service.Get(Filtros); } catch (Exception ex) { throw ex; } }
public async Task GetContas(int idPessoa) { try { ContaService contaServide = new ContaService(); Contas = await contaServide.Get(new ContaQuery() { IdPessoa = idPessoa }); } catch (Exception ex) { throw ex; } }