public async Task UpVote() { string toVote; if (IsUpVoted) { toVote = "veto"; Points--; } else { if (IsDownVoted) Points++; toVote = "up"; Points++; } IsDownVoted = false; IsUpVoted = !IsUpVoted; await Gallery.Vote(Id, toVote); }