Example #1
0
        public void LoanPublication()
        {
            LoanAccountBook account = new LoanAccountBook();
            Member Member = new Member();
            Member.MemberName = "Nick Gowdy";
            Member.MemberId = Guid.NewGuid();

            bool isReserved = account.IsReserved("0-330-28498-3");
            if (!isReserved)
            {
                bool LoanSuccess = account.LoanPublication("0-330-28498-3", Member);
            }
        }
Example #2
0
 // Passes if reserved = false
 public void CheckReservedTrue()
 {
     LoanAccountBook account = new LoanAccountBook();
     bool isReserved = account.IsReserved("0-330-28498-3");
 }