예제 #1
0
        public IActionResult Index()
        {
            ServicoModel objServico = new ServicoModel();

            ViewBag.ListaServico = objServico.ListaServico();
            return(View());
        }
예제 #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());
        }
예제 #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());
        }