public async Task ChangeFollowingState(bool isFollowing) { try { ChangingFollowState = true; var task = isFollowing ? _vidMeClient.FollowUserAsync(User.UserId) : _vidMeClient.UnfollowUserAsync(User.UserId); if (!await task) { SetIsFollowedByMe(!isFollowing); } else { if (isFollowing) { User.FollowerCount++; } else { User.FollowerCount--; } RaisePropertyChanged(() => UserFollowers); } } catch (Exception ex) { } ChangingFollowState = false; }