Ejemplo n.º 1
0
        public HttpResponseMessage SelectByProductId(int pId)
        {
            ItemsResponse <Image> response = new ItemsResponse <Image>();

            response.Items = _imagesService.GetByProductId(pId);

            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }