public function deleteAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender(true);
     $service = new Portal_Service_Gadget();
     return $service->delete((int) $this->_getParam('id'));
 }
 public function showByUsageAction()
 {
     $service = new Portal_Service_Gadget();
     $results = $service->searchUsage($this->_searchParams);
     $this->view->ResultSet = $results->getResults();
     $this->view->startIndex = $results->getParameters()->getOffset();
     $this->view->recordsReturned = $results->getResultCount();
     $this->view->totalRecords = $results->getTotalCount();
 }