Beispiel #1
0
 public BookService(string connection)
 {
     _bookRepository      = new BookRepository(connection);
     _authorRepository    = new AuthorRepository(connection);
     _redactionRepository = new RedactionRepository(connection);
     _imageHelper         = new ImageHelper();
 }
        public PublicationService(string connection)
        {
            _publicationRepository = new PublicationRepository(connection);

            _authorRepository = new AuthorRepository(connection);

            _redactionRepository = new RedactionRepository(connection);

            _imageHelper = new ImageHelper();
        }
Beispiel #3
0
 public RedactionService(string connection)
 {
     _redactionRepository = new RedactionRepository(connection);
 }
Beispiel #4
0
 public BrochureService(string connection)
 {
     _brochureRepository  = new BrochureRepository(connection);
     _redactionRepository = new RedactionRepository(connection);
     _imageHelper         = new ImageHelper();
 }
Beispiel #5
0
 public GournalService(string connection)
 {
     _gournalRepository   = new GournalRepository(connection);
     _redactionRepository = new RedactionRepository(connection);
     _imageHelper         = new ImageHelper();
 }