public IActionResult Delete(GameDeleteModel gameDeleteModel) { var result = _gameDataAccess.DeleteAsync(gameDeleteModel.Id).Result; if (result == null) { return(BadRequest("Game silinemedi!")); } return(Ok(new { result })); }