private Task <bool> ShowAlertView(
            Type viewType,
            MvxAlertPresentationAttribute attribute,
            MvxViewModelRequest request
            )
        {
            var viewController = this.CreateViewControllerFor(request);

            if (!(viewController is IMvxAlertViewController alertViewController))
            {
                return(Task.FromResult(false));
            }

            var alertController = alertViewController.Wrap(attribute, this);

            var modalPresentationAttribute = new MvxModalPresentationAttribute
            {
                WrapInNavigationController = false
            };

            return(ShowModalViewController(alertController, modalPresentationAttribute, request));
        }
 private Task <bool> CloseAlertView(IMvxViewModel viewModel, MvxAlertPresentationAttribute attribute)
 {
     return(CloseModalViewController(viewModel, new MvxModalPresentationAttribute()));
 }