public async Task <IActionResult> Get([FromRoute] int id) { GetVotingDto getVotingDto = await _votingService.GetVotingAsync(id); getVotingDto.UserVoted = await _votingService.HasUserVotedAsync(id, User.GetUserId()); return(View(getVotingDto)); }