private static void RentacarGetDetails() { RentacarManager rentacarManager = new RentacarManager(new EfRentacarDal()); var result = rentacarManager.GetAll(); Console.WriteLine("-------KİRALANMIŞ ARAÇ BİLGİSİ LİSTESİ----"); if (result.Success == true) { foreach (var rentacar in result.Data) { Console.WriteLine("Model bilgisi" + rentacar.CarId + " | " + "Kullanıcı No = " + rentacar.CustomerId + " | " + "Başlangıç Tarihi = " + rentacar.RentDate + "Bitiş Tarihi =" + rentacar.ReturnDate); } Console.WriteLine(result.Message); } }