Exemple #1
0
            public IEnumerable <enumCC> GetCCD()
            {
                enumCC        e  = new enumCC();
                enumCC        e1 = new enumCC();
                enumCC        e2 = new enumCC();
                List <enumCC> l  = new List <enumCC>();

                e.id   = "CUIT";
                e.desc = "CUIT";
                l.Add(e);

                e1.id   = "CUIL";
                e1.desc = "CUIL";
                l.Add(e1);

                e2.id   = "DNI";
                e2.desc = "DNI";
                l.Add(e2);

                return(l);
            }
        private void GetComboCC()
        {
            enumCC e = new enumCC();

            ViewBag.CCD = e.GetCCD();
        }