常用方法
常用方法
常用方法
常用方法
protected override async Task <IEnumerable <UserDto> > Handle(RequestContext context, GetEmployeeListQuery request, CancellationToken cancellationToken) { var result = (await userManager.GetEmployeeList(context.CurrentUser.UserId, true, cancellationToken)).ToList(); return(result.Select(r => mapper.Map <UserDto>(r))); }