Ejemplo n.º 1
0
 public BooksController(
     IBooksService booksService,
     IPublishingsService publishingsService,
     IAuthorsService authorsService,
     ITechnologiesService technologiesService)
 {
     _booksService        = booksService;
     _publishingsService  = publishingsService;
     _authorsService      = authorsService;
     _technologiesService = technologiesService;
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public ParserService(
     IPiterParser piterParser,
     IAuthorsService authorsService,
     IPublishingsService publishingsService,
     ITechnologiesService technologiesService,
     IBooksService booksService, IEksmoParser eksmoParser)
 {
     _piterParser         = piterParser;
     _authorsService      = authorsService;
     _publishingsService  = publishingsService;
     _technologiesService = technologiesService;
     _booksService        = booksService;
     _eksmoParser         = eksmoParser;
 }
Ejemplo n.º 3
0
        /// <inheritdoc />
        public BooksService(
            DatabaseContext context,
            IMapper mapper,
            IAuthorsService authorsService,
            IPublishingsService publishingsService,
            ITechnologiesService technologiesService)
        {
            _context = context;
            _mapper  = mapper;

            _authorsService      = authorsService;
            _publishingsService  = publishingsService;
            _technologiesService = technologiesService;
        }
 public PublishingsController(IPublishingsService publishingsService)
 {
     _publishingsService = publishingsService;
 }