public async Task PreviewPost() { IsLoading = true; if (string.IsNullOrEmpty(ReplyBox.Text) || _forumReply == null) { return; } _forumReply.Message = ReplyBox.Text; PreviewViewModel.IsOpen = true; var result = Selected.IsEdit ? await _replyManager.CreatePreviewEditPostAsync(_forumReply) : await _replyManager.CreatePreviewPostAsync(_forumReply); PreviewViewModel.LoadPost(result); IsLoading = false; }