public ScreenPresentation GetCurrentScreen() { var screenReturned = new ScreenPresentation(); var request = new GetScreenRequest { UserKey = _baseServiceFacade.UserKey }; var response = _demoClientProxy.GetCurrentScreenModel(request); if (response.Success) { screenReturned.ScreenFound = true; screenReturned.ScreenModel = response.ScreenModel; if (response.ScreenName == "Clause") { if (response.ScreenModel.ScreenName == "Noun") { response.ScreenName = "Noun"; } } screenReturned.ScreenName = response.ScreenName; screenReturned.SimpleView = response.SimpleView; } else { screenReturned.ScreenFound = false; screenReturned.ScreenModel = null; } return(screenReturned); }
public GetScreenResponse GetCurrentScreenModel(GetScreenRequest userKey) { return(Channel.GetCurrentScreenModel(userKey)); }