function restart()
 {
     $services = new services();
     if (($restartService = $services->restart($_REQUEST['service'])) != "") {
         $this->setFlash('success', 'Service ' . $_REQUEST['service'] . ' ' . $restartService);
         $this->setFlash('info', 'Hey the service restarted successul!');
     } else {
         $this->setFlash('danger', 'Service ' . $_REQUEST['service'] . ' dont restarted!');
     }
     $this->show();
 }
 function index()
 {
     $services = new services();
     $listServices = $services->show();
     $this->render('index', array('listServices' => $listServices));
 }