Example #1
0
        public List <Dto_Seller> CreateSeller()
        {
            List <string> Name = new List <string>()
            {
                "Cristian Andres", "Juan Solarte", "Camila Martinez", "Angela Cardona", "Dylan Arias"
            };

            List <int> Age = new List <int>()
            {
                21, 23, 25, 24, 20
            };

            List <int> Document = new List <int>()
            {
                1234, 2345, 3456, 4567, 5678
            };

            List <string> Gender = new List <string>()
            {
                "M", "M", "F", "F", "M"
            };

            Dao_Seller        Obj_Dao_Seller = new Dao_Seller();
            List <Dto_Seller> List_Sellers   = Obj_Dao_Seller.CreateSeller(Name, Age, Document, Gender);

            return(List_Sellers);
        }
Example #2
0
        public List <Dto_Seller> CreateSeller()
        {
            List <int> Code = new List <int>()
            {
                1, 2, 3
            };

            List <string> Name = new List <string>()
            {
                "Andres Felipe", "Camilo Suarez", "Mariana Arias"
            };

            List <int> Document = new List <int>()
            {
                6789, 7891, 8910
            };

            List <string> Gender = new List <string>()
            {
                "M", "M", "F"
            };

            List <int> Age = new List <int>()
            {
                21, 27, 30
            };

            List <string> Phone = new List <string>()
            {
                "3204980526", "3154506559", "3114989853"
            };

            List <int> Stratum = new List <int>()
            {
                3, 2, 2
            };

            Dao_Seller        Obj_Dao_Seller = new Dao_Seller();
            List <Dto_Seller> List_Sellers   = Obj_Dao_Seller.CreateSeller(Code, Name, Document, Gender, Age, Phone, Stratum);

            return(List_Sellers);
        }