public async Task <Response <GetProductByIdDto> > Handle(GetProductByIdQuery request, CancellationToken cancellationToken) { var rq = _mapper.Map <GetProductByIdRequest>(request); var product = await _ProducRepository.GetById(rq.Id); var response = _mapper.Map <GetProductByIdDto>(product); return(new Response <GetProductByIdDto>(response)); }