public WebMessageType GetMessageType(Boolean refresh) { if (_messageType.IsNull() || refresh) { _messageType = ArtDatabanken.WebService.UserService.Data.UserManager.GetMessageTypes(GetContext())[0]; } return(_messageType); }
private WebMessageType GetMessageType() { if (_messageType.IsNull()) { _messageType = new WebMessageType(); } return(_messageType); }