예제 #1
0
        public LoanViewModel()
        {
            rc = new RepositoryCopy();
            rl = new RepositoryLoan();

            RefreshCopies();
            RefreshLoans();
        }
예제 #2
0
파일: UnitTest1.cs 프로젝트: Sillimon/Seven
        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();
        }