public async Task <ActionResult <games_1> > Postgames_1(games_1 games_1)
        {
            _context.games_1.Add(games_1);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("Getgames_1", new { id = games_1.steamid }, games_1));
        }
        public async Task <IActionResult> Putgames_1([Required] long steamid, [Required] long appid, games_1 games_1)
        {
            if (steamid != games_1.steamid || appid != games_1.appid)
            {
                return(BadRequest("steamid and or appid doesn't match id in body!"));
            }

            _context.Entry(games_1).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!games_1Exists((int)steamid, (int)appid))
                {
                    return(NotFound("The record doesn't exist *sad raccoon noises*"));
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }