public SiteResolver(IMemoryCache cache, ILoggerFactory loggerFactory, CrystalDbContext dbContext) : base(cache, loggerFactory) { _dbContext = dbContext; }
public PostsController(CrystalDbContext dbContext, ITenant <Site> site, UserManager <User> userManager) { _dbContext = dbContext; _site = site?.Value; _userManager = userManager; }