public virtual async Task <ClaimTypeDto> UpdateAsync(Guid id, UpdateClaimTypeDto input)
        {
            var identityClaimType = await this.IdentityClaimTypeRepository.GetAsync(id);

            base.ObjectMapper.Map <UpdateClaimTypeDto, IdentityClaimType>(input, identityClaimType);
            input.MapExtraPropertiesTo(identityClaimType);
            var claimType = await this.IdenityClaimTypeManager.UpdateAsync(identityClaimType);

            return(this.MapClaimTypeToDto(claimType));
        }
示例#2
0
 public virtual Task <ClaimTypeDto> UpdateAsync(Guid id, UpdateClaimTypeDto input)
 {
     return(this.ClaimTypeAppService.UpdateAsync(id, input));
 }