public async Task SetFlagValue(int tournamentId, string flagName, bool newVal)
 {
     await _connection.ExecuteAsync(
         TournamentQueries.SetFlag(flagName),
         new { Id = tournamentId, Value = newVal }
         );
 }
 public async Task <IEnumerable <Tournament> > GetTournamentsWithActiveFlag(string flagName)
 {
     return(await _connection.QueryAsync <Tournament>(
                TournamentQueries.GetAllWithActiveFlag(flagName)
                ));
 }