public async Task <bool> ProcessAPIError(BaseErrorResponseInfo error)
        {
            String message = "General.Error.API.Generic".Translate();

            if (error is BaseAPIErrorResponseInfo apiErrorResponse)
            {
                if (apiErrorResponse.Error == APIError.TimeOut)
                {
                    message = "General.Error.API.Timeout".Translate();
                }
                else if (apiErrorResponse.Error == APIError.UnAuthorized)
                {
                    AuthService.Instance.DeleteAllUserAuthData();
                    var appDelegate = (AppDelegate)UIApplication.SharedApplication.Delegate;
                    appDelegate.InitialRouter.NavigateAfterDeleteProfile();
                    return(true);
                }
            }
            else if (error is BaseClientErrorResponseInfo clientError && !String.IsNullOrEmpty(clientError.Message))
            {
                message = clientError.Message;
            }

            var title  = AppResources.ErrorInfoTitle;
            var dialog = new BasicInfoAlert(message, title);
            await dialog.ShowAsync();

            return(false);
        }
        public void ShowInfoDialog(String message, String title = "", Action onOkTapped = null)
        {
            var dialog = new BasicInfoAlert(message, title, onOkTapped: onOkTapped);

            dialog.Show();
        }