public LoanViewModel() { rc = new RepositoryCopy(); rl = new RepositoryLoan(); RefreshCopies(); RefreshLoans(); }
public void Initialize() { authors = new List <Author>(); books = new List <Book>(); copies = new List <Copy>(); loans = new List <Loan>(); members = new List <Member>(); ra = new RepositoryAuthor(); rb = new RepositoryBook(); rc = new RepositoryCopy(); rl = new RepositoryLoan(); rm = new RepositoryMember(); }