Beispiel #1
0
        private static void DeleteServiceForCar()
        {
            CarManager carManager = new CarManager(new EfCarDal());

            Console.WriteLine("------------------- DeleteService(Car car) Test-------------------\n");
            var result = carManager.DeleteService(new Car
            {
                CarId        = 1003,
                ColorId      = 3,
                BrandId      = 1,
                DailyPrice   = 290,
                ModelYear    = 2020,
                Descriptions = "Şanzıman:Otomatik, Yakıt:Dizel"
            });

            Console.WriteLine(result.Message);
        }