public WebAuthorityDataType GetAuthorityDataType(Boolean refresh) { if (_authorityDataType.IsNull() || refresh) { _authorityDataType = ArtDatabanken.WebService.UserService.Data.UserManager.GetAuthorityDataTypes(GetContext())[0]; } return(_authorityDataType); }
private WebAuthorityDataType GetAuthorityDataType() { if (_authorityDataType.IsNull()) { _authorityDataType = new WebAuthorityDataType(); } return(_authorityDataType); }