示例#1
0
        public ActionResult DeleteRubro(int id)
        {
            var result = rubroRepository.DeleteRubro(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok("Rubro Eliminado Correctamente"));
        }