public function deleteUomAction()
 {
     if ($this->request->isGet() && $this->request->isXmlHttpRequest()) {
         $pieces = explode("-", $this->request->getQuery()->id);
         $uom = $this->settingsService->getUomById($pieces[1]);
         if ($uom) {
             $this->settingsService->deleteUom($uom);
             return new JsonModel(array($pieces[1]));
         } else {
             return new JsonModel(array());
         }
     }
     return $this->response;
 }