Example #1
0
        private static void CarDeleteTest()
        {
            CarManager carManager = new CarManager(new EfCarDal());
            var        result     = carManager.DeleteToSystem(new Car {
                Id = 4
            });

            if (result.Success == true)
            {
                Console.WriteLine(result.Message);
            }
            else
            {
                Console.WriteLine(result.Message);
            }
        }