Esempio n. 1
0
 public ContentCacheController(IConfiguration configuration,
                               IContentTemplatesEntityService templatesService,
                               IContentsEntityService contentsService,
                               IFileContentService filesService)
 {
     _templatesService = templatesService;
     _contentsService  = contentsService;
     _filesService     = filesService;
     _resourcesGroup   = configuration.GetValue <string>("File:Resources");
 }
Esempio n. 2
0
 public RssController(IConfiguration configuration,
                      IFileContentService fileService,
                      IDistributedCache cache,
                      IContentsEntityService contentsService)
 {
     _cachesGroup     = configuration.GetValue <string>("File:Caches");
     _fileService     = fileService;
     _cache           = cache;
     _contentsService = contentsService;
 }
Esempio n. 3
0
 public ContentService(IContentsEntityService entitiesService, IFileContentService fileService)
 {
     _entitiesService = entitiesService;
     _fileService     = fileService;
 }