private async Task SeedTestChallengesAsync() { if (!await Challenges.AnyAsync()) { Challenges.AddRange(FileStorage.Challenges.Select(challengePayout => challengePayout.ToModel())); await this.CommitAsync(); Logger.LogInformation("The challenges being populated."); } else { Logger.LogInformation("The challenges already populated."); } }