public ActionResult InsertRol([FromBody] Rol rol) { var result = rolRepository.InsertRol(rol); if (result == null) { return(NotFound()); } return(Ok(rol)); }