public IActionResult ListarTransacao() { Transacao transacao = new Transacao(HttpContextAccessor); ViewBag.ListarTransacao = transacao.ListaTransacao(); return(View()); }
public IActionResult Extrato(Transacao transacao) { transacao.HttpContextAccessor = HttpContextAccessor; ViewBag.ListarTransacao = transacao.ListaTransacao(); ViewBag.ListarConta = new Conta(HttpContextAccessor).ListaConta(); return(View()); }