Esempio n. 1
0
        public async Task <ApiResponse> GetAllImage()
        {
            var Images = await _productImageService.GetAllAsync();

            var vm = _mapper.Map <List <ProductImageViewModel> >(Images);

            return(new ApiResponse("", vm, 200));
        }