Beispiel #1
0
        public async Task <IActionResult> GetPicturesProduct(int productId)
        {
            List <PicturesProductDTO> dto = _mapper.Map <List <PicturesProductDTO> >(await _servicePictures.GetPicturesByProId(productId));

            return(Ok(dto));
        }