Beispiel #1
0
 public void Update(IUserIdentifierType userIdentifierType)
 {
     Name = userIdentifierType.Name;
     if (userIdentifierType.UserIdentifiers != null)
     {
         foreach (var item in userIdentifierType.UserIdentifiers)
         {
             UserIdentifierEntities.Add(new UserIdentifierEntity(item));
         }
     }
 }
Beispiel #2
0
 public UserIdentifierTypeEntity(IUserIdentifierType userIdentifierType)
 {
     Id   = Guid.NewGuid();
     Name = userIdentifierType.Name;
     if (userIdentifierType.UserIdentifiers != null)
     {
         foreach (var item in userIdentifierType.UserIdentifiers)
         {
             UserIdentifierEntities.Add(new UserIdentifierEntity(item));
         }
     }
 }
Beispiel #3
0
 public void CreateUserIdentifierType(IUserIdentifierType userIdentifierType)
 {
     _userIdentifierTypeData.Create(userIdentifierType);
 }
Beispiel #4
0
 public void UpdateUserIdentifierType(IUserIdentifierType userIdentifierType, Guid id)
 {
     _userIdentifierTypeData.Update(userIdentifierType, id);
 }