public async Task <IdentityRoleDto> GetAsync(Guid id) { return(ObjectMapper.Map <IdentityRole, IdentityRoleDto>( await _roleManager.GetByIdAsync(id) )); }
public virtual async Task <IdentityRoleDto> GetAsync(Guid id) { return(ObjectMapper.Map <IdentityRole, IdentityRoleDto>( await _roleManager.GetByIdAsync(id).ConfigureAwait(false))); }