public virtual async Task <ClaimTypeDto> CreateAsync(CreateClaimTypeDto input)
        {
            var identityClaimType = base.ObjectMapper.Map <CreateClaimTypeDto, IdentityClaimType>(input);

            input.MapExtraPropertiesTo(identityClaimType);
            var claimType = await this.IdenityClaimTypeManager.CreateAsync(identityClaimType);

            return(this.MapClaimTypeToDto(claimType));
        }
Exemple #2
0
 public virtual Task <ClaimTypeDto> CreateAsync(CreateClaimTypeDto input)
 {
     return(this.ClaimTypeAppService.CreateAsync(input));
 }