public void ListAllBookCopies(object sender, EventArgs e) { lbCopies.Items.Clear(); foreach (BookCopy copybook in _loanService.AllAvailableCopies()) //All available copies. { lbCopies.Items.Add(copybook); } }
public void ListAllBookCopies(object sender, EventArgs e) { lbCopies.Items.Clear(); foreach (BookCopy copybook in _loanService.AllAvailableCopies()) //All available copies. { lbCopies.Items.Add(copybook); } }