Exemplo n.º 1
0
        public void AddReturnedLoan(Loan returnedLoan)
        {
            var returnLoan = new ReturnedLoans();

            returnLoan.BookCopyID = returnedLoan.BookCopyID;
            returnLoan.BookCopy   = returnedLoan.BookCopy;
            returnLoan.Delayed    = returnedLoan.Delayed;
            returnLoan.Fine       = returnedLoan.Fine;
            returnLoan.MemberID   = returnedLoan.MemberID;
            returnLoan.Returned   = returnedLoan.Returned;
            loanService.AddReturnedLoan(returnLoan);
        }