public AdminLookupItem(AdminLookupItemModel model) { Id = string.IsNullOrEmpty(model.Id) ? Guid.NewGuid().ToString() : model.Id; CanonicalName = model.CanonicalName; DisplayName = model.DisplayName; Values = AdminLookupItemValue.Convert(model.Values); }
public AdminEmailAddress(AdminEmailAddressModel model) { Type = new AdminLookupItemValue(model.Type); Address = model.Address; }
public AdminPhoneNumber(AdminPhoneNumberModel model) { Type = new AdminLookupItemValue(model.Type); Number = model.Number; }