public List <WebAddress> GetAddresses(Boolean refresh) { if (_address.IsNull() || refresh) { _addresses = ArtDatabanken.WebService.UserService.Data.UserManager.GetAddresses(GetContext(), Settings.Default.TestPersonId, Settings.Default.TestOrganizationId); } return(_addresses); }
private WebAddress GetAddress(Boolean refresh) { if (_address.IsNull() || refresh) { _address = new WebAddress(); } return(_address); }