Esempio n. 1
0
 public IPBContentPublisher(IPBApiClientFactory apiClientFactory, IContentRender contentRender,
                            BioContext dbContext,
                            ILogger <IPBContentPublisher> logger) : base(dbContext, logger)
 {
     _apiClientFactory = apiClientFactory;
     _contentRender    = contentRender;
 }
 public RenderController(BaseControllerContext context, IContentRender contentRender,
                         ContentItemsRepository contentItemsRepository, IOptions <BrcApiOptions> options,
                         SitesRepository sitesRepository) : base(context)
 {
     _contentRender          = contentRender;
     _contentItemsRepository = contentItemsRepository;
     _sitesRepository        = sitesRepository;
     _options = options.Value;
 }