예제 #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
        });
    }
예제 #2
0
 public Task UpdateGGStats(MasterGame masterGame, GGGame ggGame)
 {
     return(_masterGameRepo.UpdateGGStats(masterGame, ggGame));
 }
예제 #3
0
 public Task UpdateGGStats(MasterGame masterGame, GGGame ggGame)
 {
     throw new NotImplementedException();
 }