public ActionResult GetRubro() { var result = rubroRepository.GetRubro(); if (result == null) { return(NotFound()); } return(Ok(result)); }