Exemplo n.º 1
0
    public async Task UpdateGGStats(MasterGame masterGame, GGGame ggGame)
    {
        if (ggGame.CoverArtFileName is null)
        {
            return;
        }

        string sql = "update tbl_mastergame set GGCoverArtFileName = @ggCoverArtFileName where MasterGameID = @masterGameID;";

        await using var connection = new MySqlConnection(_connectionString);
        await connection.ExecuteAsync(sql,
                                      new
        {
            masterGameID       = masterGame.MasterGameID,
            ggCoverArtFileName = ggGame.CoverArtFileName
        });
    }
Exemplo n.º 2
0
 public Task UpdateGGStats(MasterGame masterGame, GGGame ggGame)
 {
     return(_masterGameRepo.UpdateGGStats(masterGame, ggGame));
 }
Exemplo n.º 3
0
 public Task UpdateGGStats(MasterGame masterGame, GGGame ggGame)
 {
     throw new NotImplementedException();
 }