public async Task <ICollection <ProductDTO> > GetAllAsync() { var result = await _productService.GetAllAsync(); return(AutoMapper.Mapper.Map <ICollection <ProductDTO> >(result)); }
public async Task <ICollection <ProductDTO> > GetAllAsync() { var result = await _productService.GetAllAsync(); return(AutoMapper.Mapper.Map <ICollection <ProductDTO> >(result)); }