Exemple #1
0
        public IHttpActionResult CountByCategoria(int codigoCategoria)
        {
            //[dbo].[CONT_ALL_PRODUCTOS_BY_CATEGORIA_PR]
            apiResp = new ApiResponse();
            var mng = new ProductosManager();

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