Esempio n. 1
0
        static void Main(string[] args)
        {
            BaseCustomerManager customerManager1 = new NeroCustomerManager();

            customerManager1.Save(new Customer());
            BaseCustomerManager customerManager = new StarbucksCustomerManager(new MernisServiceAdapter());

            customerManager.Save(new Customer {
                DateOfBirth = new DateTime(1985, 1, 6), FirstName = "Engin", LastName = "Demiroğ", NationalityId = "28861499108"
            });
            Console.ReadLine();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            BaseCustomerManager customerManager = new NeroCustomerManager();

            customerManager.Save(new Customer
            {
                DateOfBirth   = new DateTime(1997, 10, 28),
                FirstName     = "Elif",
                LastName      = "Güven",
                NationalityId = "11243974652",
            });
            Console.ReadLine();
        }