private void RemoveComment(int commentID) { var commentManager = CommentSystemManager.NewCommentRemover(); commentManager.Result += (status, comment) => { Device.BeginInvokeOnMainThread(() => { if (status == CommentManagerStatus.Success) { DependencyService.Get <IToast>().LongToast("Komentaras sėkmingai ištrintas"); } else { DependencyService.Get <IToast>().LongToast("Komentaras nebuvo ištrintas"); } }); }; commentManager.RemoveComment(new Comment { CommentID = commentID }); GetComments(viewModel.HelpRequestModel.HelpRequest.Id); }