コード例 #1
0
        private static void DeleteServiceForBrand()
        {
            BrandManager brandManager = new BrandManager(new EfBrandDal());

            Console.WriteLine("------------------- DeleteService(Brand brand) Test-------------------\n");
            var result = brandManager.DeleteService(new Brand
            {
                BrandId   = 1002,
                BrandName = "Ford"
            });

            Console.WriteLine(result.Message);
        }