Beispiel #1
0
        public IHttpActionResult CountTotal()
        {
            //[dbo].[CONT_CATEGORIAS_PR]
            apiResp = new ApiResponse();
            var mng = new CategoriasManager();

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