Example #1
0
        public ForumController(IOptions <ForumOptions> forumOptions,
                               IAuthorizationService authorizationService,
                               ICategoriesCache categoriesCache,
                               IContentCache contentCache,
                               OperationKeysContainer operationKeysContainer,
                               IForumPresenter forumPresenter,
                               IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.forumPresenter       = forumPresenter;
            this.forumOptions         = forumOptions.Value;
            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
        }