Ejemplo n.º 1
0
 public DataSet RecuperarPlano(long TB015_id)
 {
     try
     {
         PlanoDao DAO = new PlanoDao();
         return(DAO.RecuperarPlano(TB015_id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
        //public DataSet PlanoParceiros(long tb002Id, int tb015LiberadoCpf, int tb015LiberadoCnpj)
        //{
        //    try
        //    {

        //        return new PlanoDao().PlanoParceiros(tb002Id, tb015LiberadoCpf, tb015LiberadoCnpj);
        //    }
        //    catch (Exception ex)
        //    {
        //        // ReSharper disable once PossibleIntendedRethrow
        //        throw ex;
        //    }
        //}

        //public DataSet PlanoContrato(long TB015_id)
        //{
        //    try
        //    {
        //        PlanoDao DAO = new PlanoDao();
        //        return DAO.PlanoContrato(TB015_id);
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        //public PlanoController PlanoVendaSelectID(long TB015_id, int Maiores, int Menores, int isentos)
        //{
        //    try
        //    {

        //        PlanoDao DAO = new PlanoDao();
        //        PlanoController Plano = DAO.PlanoVendaSelectId(TB015_id, Maiores, Menores, isentos);

        //        //ProdutoDAO DAOProsuto = new ProdutoDAO();
        //        //List<ProdutoController> PlanoProdutos = DAOProsuto.ProdutoPlano(TB015_id);
        //        //Plano.PlanoProduto_L = PlanoProdutos;

        //        return Plano;
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        //public List<PlanoController> ListarPlanosPorTipo(int TipoContrato)
        //{
        //    try
        //    {
        //        PlanoDao DAO = new PlanoDao();
        //        return DAO.ListarPlanosPorTipo(TipoContrato);
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        public List <PlanoController> PlanosCorporativo()
        {
            try
            {
                PlanoDao DAO = new PlanoDao();
                return(DAO.PlanosCorporativo());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Ejemplo n.º 3
0
 public Double PlanoCorporativoValor(long TB015_id)
 {
     try
     {
         PlanoDao DAO = new PlanoDao();
         return(DAO.PlanoCorporativoValor(TB015_id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }