private static void AddServiceTestForCar() { CarManager carManager = new CarManager(new EfCarDal()); Console.WriteLine("------------------- AddService(Car car) Test-------------------\n"); var result = carManager.AddService(new Car { ColorId = 1, BrandId = 3, DailyPrice = 300, ModelYear = 2020, Descriptions = "Şanzıman:Otomatik, Yakıt:Dizel" }); Console.WriteLine(result.Message); }