private Type GetPageTypeForViewModel(Type viewModelType)
        {
            if (!ViewModelLocator.Current.mappings.ContainsKey(viewModelType))
            {
                KeyNotFoundException ex = new KeyNotFoundException($"No map for ${viewModelType} was found on navigation mappings");
                ex.LogException();
                throw ex;
            }

            return(ViewModelLocator.Current.mappings[viewModelType]);
        }