public async Task <IActionResult> SetRatingAsync(string gameId, int value) { var userId = User?.GetId(); await _ratingService.CreateOrUpdateAsync(gameId, userId, value); return(RedirectToAction(nameof(GetRatingAsync), new { gameId })); }