示例#1
0
        private static void RentalTest(Rental rental)
        {
            RentalManager rentalmanager = new RentalManager(new EfRentalDal {
            });

            var result1 = rentalmanager.Add(rental);

            Console.WriteLine(result1.Message);

            var result2 = rentalmanager.Completed(rental);

            Console.WriteLine(result2.Message);
        }