Ejemplo n.º 1
0
 private static void GetAllCustomerList(CustomersManager customersManager)
 {
     Console.WriteLine("Müşterilerin Listesi: \nId\tKullanıcı Id\tCustomer Name");
     foreach (var customer in customersManager.GetAll().Data)
     {
         Console.WriteLine($"{customer.CustomerId}\t{customer.UsersMId}\t{customer.CompanyName}");
     }
 }
Ejemplo n.º 2
0
        private static void CustomerAllDetails()
        {
            CustomersManager customerManager = new CustomersManager(new EfCustomerDal());

            foreach (var customer in customerManager.GetAll().Data)
            {
                Console.WriteLine("Müşteri Adı: " + customer.CustomerName + " - " + "Şirket Adı: " + customer.CompanyName);
            }
        }
Ejemplo n.º 3
0
        private static void CustomerTest()
        {
            CustomersManager customerManager = new CustomersManager(new EfCustomerDal());

            var listCustomers = customerManager.GetAll();

            foreach (var customer in listCustomers.Data)
            {
                Console.WriteLine(customer.CompanyName);
            }
        }