public async Task<IHttpActionResult> PutGameScoreData(int id, GameScoreData gameScoreData)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != gameScoreData.Scoreid)
            {
                return BadRequest();
            }

            db.Entry(gameScoreData).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!GameScoreDataExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostGameScoreData(GameScoreData gameScoreData)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.GameScores.Add(gameScoreData);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = gameScoreData.Scoreid }, gameScoreData);
        }