public async Task <ProductResponseModel> FindAsync(Guid id) { var product = await _productService.FindAsync(id); return(_mapper.Map <ProductResponseModel>(product)); }
public async Task <ProductDTO> FindAsync(int id) { var result = await _productService.FindAsync(id); return(AutoMapper.Mapper.Map <ProductDTO>(result)); }