public async Task<IHttpActionResult> PutTopScoresAllTimeEntry(int id, TopScoresAllTimeEntry topScoresAllTimeEntry)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != topScoresAllTimeEntry.Id)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostTopScoresAllTimeEntry(TopScoresAllTimeEntry topScoresAllTimeEntry)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.topScoresAllTime.Add(topScoresAllTimeEntry);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = topScoresAllTimeEntry.Id }, topScoresAllTimeEntry);
        }