Exemplo n.º 1
0
        private async Task <string> GetCommentAsync(string displayName)
        {
            var dialog = new CommentViewModel()
            {
                DisplayName = displayName,
            };

            if (await dialog.ShowDialogAsync() == true)
            {
                return(dialog.Comment);
            }
            return(null);
        }