예제 #1
0
        public IActionResult ListarTransacao()
        {
            Transacao transacao = new Transacao(HttpContextAccessor);

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

            return(View());
        }