public ArticleService() { var context = new DAL.EF.LibraryContext(); _authorInArticleRepository = new AuthorInArticleRepository(context); _articleInJournalRepository = new ArticleInJournalRepository(context); }
public JournalService() { var context = new DAL.EF.LibraryContext(); _articleInjournalRepository = new ArticleInJournalRepository(context); _journalRepository = new JournalRepository(context); }
public AuthorService() { var context = new DAL.EF.LibraryContext(); _authorInBookRepository = new AuthorInBookRepository(context); _authorRepository = new AuthorRepository(context); _bookRepository = new BookRepository(context); }