public async Task <DialogResult> ShowMessageAsync(string title, string message, DialogStyle style = DialogStyle.Affirmative, DialogSettings settings = null)
        {
            var metroStyle = Metro.MessageDialogStyle.Affirmative;

            if (style == DialogStyle.AffirmativeAndNegative)
            {
                metroStyle = Metro.MessageDialogStyle.AffirmativeAndNegative;
            }
            else
            {
                metroStyle = Metro.MessageDialogStyle.AffirmativeAndNegativeAndSingleAuxiliary;
            }

            var defaultButtonFocus = settings?.DefaultButtonFocus.ToMetro() ?? Metro.MessageDialogResult.Affirmative;

            defaultButtonFocus = defaultButtonFocus == Metro.MessageDialogResult.Canceled ? Metro.MessageDialogResult.FirstAuxiliary : defaultButtonFocus;

            var result = await _dialog.ShowMessageAsync(_context, title, message, metroStyle, new Metro.MetroDialogSettings
            {
                FirstAuxiliaryButtonText = settings?.CancelButtonText ?? "Cancel",
                AffirmativeButtonText    = settings?.AffirmativeButtonText ?? "Ok",
                NegativeButtonText       = settings?.NegativeButtonText ?? "No",
                DefaultButtonFocus       = defaultButtonFocus,
                AnimateHide = false
            });

            return(result.ToAdapter());
        }
        public async Task <DialogResult> ShowMessageAsync(object context, string title, string message, DialogStyle style = DialogStyle.Affirmative)
        {
            MessageDialogStyle mahAppsDialogStyle = ConvertToMahAppsDialogStyle(style);

            //Task<MessageDialogResult> task = _dialogCoordinator.ShowMessageAsync(context, title, message, mahAppsDialogStyle);
            MessageDialogResult result = await _dialogCoordinator.ShowMessageAsync(context, title, message, mahAppsDialogStyle);

            //MessageDialogResult mahAppsMessageDialogResult = awaiter.GetResult();/*task.Result;*/

            return(ConvertToBaseDialogResult(result));
            //return DialogResult.Affirmative;
        }