public bool ValidatePageAvailability(string pageKey) { var model = uiFactory.ResolveModel(pageKey, settings); try { if (model is BaseServiceEntity) { new DependencyValidator(facadeImpl).CheckVersionOneDependency((BaseServiceEntity)model); } } catch (V1ConnectionRequiredException) { View.ShowErrorMessage(Resources.V1ConnectionRequiredForPage); return(false); } return(true); }