public Rol getRolByID(int id) { Rol rol; RolRepository repo = new RolRepository(); rol = repo.getRolById(id); return rol; }