public async Task <GetUserByIdDTO> Handle(GetUserByIdQuery request, CancellationToken cancellationToken) { var res = await _aspNetUserRepository.GetById(request.UserId); if (res == null) { throw new ArgumentException(); } return(_mapper.Map <GetUserByIdDTO>(res)); }