public WebPhoneNumberType GetPhoneNumberType(Boolean refresh) { if (_phoneNumberType.IsNull() || refresh) { _phoneNumberType = ArtDatabanken.WebService.UserService.Data.UserManager.GetPhoneNumberTypes(GetContext())[0]; } return(_phoneNumberType); }
private WebPhoneNumberType GetPhoneNumberType() { if (_phoneNumberType.IsNull()) { _phoneNumberType = new WebPhoneNumberType(); } return(_phoneNumberType); }