public async Task <IdentityClaimTypeDto> CreateAsync(IdentityClaimTypeCreateDto input) { var claimType = new IdentityClaimType(GuidGenerator.Create(), input.Name, input.Required, false, input.Regex, input.RegexDescription, input.Description, input.ValueType); return(ObjectMapper.Map <IdentityClaimType, IdentityClaimTypeDto>(await IdenityClaimTypeManager.CreateAsync(claimType))); }
public virtual Task<IdentityClaimTypeDto> CreateAsync(IdentityClaimTypeCreateDto input) { return ClaimTypeAppService.CreateAsync(input); }