public async Task <ActionResult> ChangeVote(int tripId, [FromBody] VoteEditDTO voteInfo)
        {
            try
            {
                if (!await _editRightsService.HasEditRights(tripId))
                {
                    return(BadRequest(new JsonResult("You can't currently edit this trip.")));
                }
                VoteDTO retValue = await _voteService.EditVote(voteInfo, tripId);

                await _editRightsService.ProlongEditRights(tripId, _redisAppSettings.EditRightsProlongedTTL);

                if (retValue == null)
                {
                    return(BadRequest(new JsonResult("Vote does not exist")));
                }
                return(Ok(retValue));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }