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