/// <summary> /// Fetch the categories used in contest. /// </summary> /// <param name="contestFiltered">Whether filtering the entities only used in this contest.</param> /// <returns>The task for fetching affiliations.</returns> public Task <IReadOnlyDictionary <int, Category> > ListCategoriesAsync(bool contestFiltered = true) => _teamContext.ListCategoriesAsync(contestFiltered);