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);
 }
Example #2
0
 public AdminEmailAddress(AdminEmailAddressModel model)
 {
     Type    = new AdminLookupItemValue(model.Type);
     Address = model.Address;
 }
Example #3
0
 public AdminPhoneNumber(AdminPhoneNumberModel model)
 {
     Type   = new AdminLookupItemValue(model.Type);
     Number = model.Number;
 }