public void Update(IUserIdentifierType userIdentifierType) { Name = userIdentifierType.Name; if (userIdentifierType.UserIdentifiers != null) { foreach (var item in userIdentifierType.UserIdentifiers) { UserIdentifierEntities.Add(new UserIdentifierEntity(item)); } } }
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)); } } }
public void CreateUserIdentifierType(IUserIdentifierType userIdentifierType) { _userIdentifierTypeData.Create(userIdentifierType); }
public void UpdateUserIdentifierType(IUserIdentifierType userIdentifierType, Guid id) { _userIdentifierTypeData.Update(userIdentifierType, id); }