public PageBuilder(IWebHostEnvironment hostingEnvironment, IHoodCache cache) { _hostingEnvironment = hostingEnvironment; _cache = cache; _scripts = new Dictionary <ResourceLocation, List <FileReferenceMetadata> >(); _inlineScripts = new Dictionary <ResourceLocation, List <string> >(); _css = new Dictionary <ResourceLocation, List <FileReferenceMetadata> >(); _bundleFileProcessor = new BundleFileProcessor(); }
public ContentRepository( HoodDbContext db, IHoodCache cache, IWebHostEnvironment env, IEventsService eventService) { _db = db; _cache = cache; _eventService = eventService; _env = env; }