Ejemplo n.º 1
0
        public IHttpActionResult GetByCodigoCategoria(int codigoCategoria)
        {
            //[dbo].[RET_PRODUCTOS_BY_CATEGORY_CODIGO_PR]
            apiResp = new ApiResponse();
            var mng = new ProductosManager();

            apiResp.Data    = mng.RetrieveAllByCodigoCategoria(codigoCategoria);
            apiResp.Message = "Successful";
            return(Ok(apiResp));
        }