public virtual async Task <int> DeleteIdentityResourcePropertyAsync(IdentityResourcePropertiesDto identityResourceProperty) { var propertyEntity = identityResourceProperty.ToEntity(); var deleted = await IdentityResourceRepository.DeleteIdentityResourcePropertyAsync(propertyEntity); await AuditEventLogger.LogEventAsync(new IdentityResourcePropertyDeletedEvent(identityResourceProperty)); return(deleted); }
public virtual async Task <int> DeleteIdentityResourcePropertyAsync(IdentityResourcePropertiesDto identityResourceProperty) { var propertyEntity = identityResourceProperty.ToEntity(); return(await IdentityResourceRepository.DeleteIdentityResourcePropertyAsync(propertyEntity)); }