private void OnProviderValueChanged(Entity.ClientIdpRestriction restriction) { restriction.Id = Guid.NewGuid().ToString(); Model.IdentityProviderRestrictions.Add(restriction); _provider = new Entity.ClientIdpRestriction(); HandleModificationState.EntityCreated(restriction); }
private void OnProviderDeletedClicked(Entity.ClientIdpRestriction restriction) { Model.IdentityProviderRestrictions.Remove(restriction); HandleModificationState.EntityDeleted(restriction); }
private void OnProviderValueChanged(Entity.ClientIdpRestriction restriction) { Model.IdentityProviderRestrictions.Add(new Entity.ClientIdpRestriction()); HandleModificationState.EntityCreated(restriction); }