Example #1
0
        public IHttpActionResult CountAllProducts()
        {
            //[dbo].[CONT_ALL_PRODUCTOS_PR]
            apiResp = new ApiResponse();
            var mng = new ProductosManager();

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