public bool LendBook()
        {
            if (!ValidatePreLend())
            {
                return(false);
            }

            ExpectedReturnDate = CheckoutDate.AddDays(3);
            Book.WithBookSituation(BookSituationEnum.Lent);
            return(ValidateLend());
        }
Esempio n. 2
0
 public override string ToString()
 {
     return($"{FullName} ({CheckinDate.ToString("d")} to {CheckoutDate.ToString("d")})");
 }