public IActionResult Put([FromBody] GameViewModel model, int id) { _db.GameEdit(id, model.Title, model.Price); return(Ok(model)); }
public IActionResult Put([FromBody] GameViewModel model, int id) { _db.GameEdit(id, model.Title, model.Price); return(Ok(model)); }