public virtual async Task <bool> CanInsertIdentityResourcePropertyAsync(IdentityResourcePropertiesDto identityResourcePropertiesDto) { var resource = identityResourcePropertiesDto.ToEntity(); return(await IdentityResourceRepository.CanInsertIdentityResourcePropertyAsync(resource)); }