Example #1
0
 public LibraryService(string connection)
 {
     _bookRepository        = new BookRepository(connection);
     _brochureRepository    = new BrochureRepository(connection);
     _gournalRepository     = new GournalRepository(connection);
     _publicationRepository = new PublicationRepository(connection);
 }
Example #2
0
 public GournalService(string connection)
 {
     _gournalRepository   = new GournalRepository(connection);
     _redactionRepository = new RedactionRepository(connection);
     _imageHelper         = new ImageHelper();
 }