Exemple #1
0
        public IActionResult Index()
        {
            ConsultaModel objConsulta = new ConsultaModel();

            ViewBag.ListaConsulta = objConsulta.ListaConsulta();
            return(View());
        }
Exemple #2
0
        public IActionResult ExtratoConsultas(ConsultaModel formulario)
        {
            ClienteModel objClinte = new ClienteModel();

            ViewBag.ListaCliente = objClinte.ListaCliente();
            ConsultaModel objConsulta = new ConsultaModel();

            ViewBag.ListaConsulta = objConsulta.ListaConsulta();
            ServicoModel objServico = new ServicoModel();

            ViewBag.ListaServico = objServico.ListaServico();
            FuncionarioModel objFuncionario = new FuncionarioModel();

            ViewBag.ListaFuncionario = objFuncionario.ListaFuncionarioModel();
            PagamentoModel objPagamento = new PagamentoModel();

            ViewBag.ListaPagamento = objPagamento.ListaPagamento();
            return(View());
        }
Exemple #3
0
        public IActionResult CriarConsulta(int?id)
        {
            if (id != null)
            {
            }
            ClienteModel objClinte = new ClienteModel();

            ViewBag.ListaCliente = objClinte.ListaCliente();
            ConsultaModel objConsulta = new ConsultaModel();

            ViewBag.ListaConsulta = objConsulta.ListaConsulta();
            ServicoModel objServico = new ServicoModel();

            ViewBag.ListaServico = objServico.ListaServico();
            FuncionarioModel objFuncionario = new FuncionarioModel();

            ViewBag.ListaFuncionario = objFuncionario.ListaFuncionarioModel();
            PagamentoModel objPagamento = new PagamentoModel();

            ViewBag.ListaPagamento = objPagamento.ListaPagamento();

            return(View());
        }