public bool CheckIfAlreadyVotedForResolution(string resolutionId) { string userId = _context.GetUserByEmail(GetUserEmailFromRequest()).Id; bool voteExist = _context.CheckIfVoteExist(resolutionId, userId); return(voteExist); }