Пример #1
0
        static void Main(string[] args)
        {
            RealClient client1 = new RealClient();

            client1.ClientNumber = "12345";
            client1.FirstName    = "Oguzhan";
            client1.LastName     = "Bilgic";
            client1.IdentityNo   = "12345678910";


            CorporateClient client2 = new CorporateClient();

            client2.Id           = 2;
            client2.ClientNumber = "54321";
            client2.CompanyName  = "Keove";
            client2.TaxNo        = "1234567890";

            Client client3 = new RealClient();
            Client client4 = new CorporateClient();

            CustomerManeger customerManeger = new CustomerManeger();

            customerManeger.Add(client1);
            customerManeger.Add(client2);
        }
Пример #2
0
        static void Main(string[] args)
        {
            IndividualClient client1 = new IndividualClient();

            client1.Id         = 1;
            client1.ClientId   = "11111";
            client1.Name       = "Memduh";
            client1.Surname    = "Kocadağ";
            client1.NationalId = "11111111";

            CorporateClient client2 = new CorporateClient();

            client2.Id          = 2;
            client2.ClientId    = "212121";
            client2.CompanyName = "consicous";
            client2.TaxId       = "12121212";

            Client client3 = new IndividualClient();
            Client client4 = new CorporateClient();

            ClientManager clientManager = new ClientManager();

            clientManager.Add(client1);
            clientManager.Add(client2);
        }
Пример #3
0
        static void Main(string[] args)
        {
            IndividualCustomer ındividualCustomer1 = new IndividualCustomer();

            ındividualCustomer1.CustomerNumber = "12355";
            ındividualCustomer1.FirstName      = "Furkan";
            ındividualCustomer1.LastName       = "Biçer";
            ındividualCustomer1.TcNo           = "1234567890";

            CorporateClient corporateClien1 = new CorporateClient();

            corporateClien1.Id             = 2;
            corporateClien1.CompanyName    = "Kodlama.io";
            corporateClien1.TaxNumber      = "12345678";
            corporateClien1.CustomerNumber = "1234";


            Customer customer3 = new IndividualCustomer();
            Customer customer4 = new CorporateClient();

            CustomerManager customerManager = new CustomerManager();

            customerManager.Add()
        }