Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private static void FindCarForBrand(CarManager carManager, Color color, Brand brand) { GetBrand(); int brandID = Convert.ToInt32(Console.ReadLine()); Console.WriteLine($"Filtreye uyan araçlar: \nId\tAraç Rengi\tModel\tÇıkış Yılı\tGünlük Fiyat\tAçıklama"); var resultBrand = carManager.GetAllByBrandID(brandID); foreach (var cars in resultBrand.Data) { Console.WriteLine($"{cars.CarID}\t{color.ColorName}\t{brand.BrandName}\t{cars.ModelYear}\t\t{cars.DailyPrice}\t\t{cars.Description}"); } }