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); }