public PopulateSystemSettingsViewDataActionFilter(ICacheItemsProviderService cacheItemsProvider)
        {
            if (cacheItemsProvider == null)
            {
                throw new ArgumentNullException(nameof(cacheItemsProvider));
            }

            this.cacheItemsProvider = cacheItemsProvider;
        }
 public ListController(
     IOjsData data,
     IContestsDataService contestsData,
     IContestCategoriesDataService contestCategoriesData,
     ICacheItemsProviderService cacheItems)
     : base(data)
 {
     this.contestsData          = contestsData;
     this.contestCategoriesData = contestCategoriesData;
     this.cacheItems            = cacheItems;
 }
Esempio n. 3
0
 public ContestsController(
     IOjsData data,
     IContestsDataService contestsData,
     IProblemsDataService problemsData,
     ICacheItemsProviderService cacheItems,
     IContestsBusinessService contestsBusiness)
     : base(data)
 {
     this.contestsData     = contestsData;
     this.problemsData     = problemsData;
     this.cacheItems       = cacheItems;
     this.contestsBusiness = contestsBusiness;
 }
 public PopulateMainContestCategoriesIntoViewBagFilter(ICacheItemsProviderService cacheItems) =>
 this.cacheItems = cacheItems;
 public ClearMovedContestCategoryCacheFilter(ICacheItemsProviderService cacheItems) =>
 this.cacheItems = cacheItems;