Ejemplo n.º 1
0
 public BookService(string connection)
 {
     _bookRepository      = new BookRepository(connection);
     _authorRepository    = new AuthorRepository(connection);
     _redactionRepository = new RedactionRepository(connection);
     _imageHelper         = new ImageHelper();
 }
Ejemplo n.º 2
0
        public PublicationService(string connection)
        {
            _publicationRepository = new PublicationRepository(connection);

            _authorRepository = new AuthorRepository(connection);

            _redactionRepository = new RedactionRepository(connection);

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