public function deletePlatformAction()
    {
        $response = array();
        $this->getEventManager()->trigger('meliscore_platform_delete_start', $this, $response);
        $translator = $this->getServiceLocator()->get('translator');
        $platformTable = $this->getServiceLocator()->get('MelisCoreTablePlatform');
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
        $melisTool->setMelisToolKey(self::TOOL_INDEX, self::TOOL_KEY);
        
        $textTitle = 'tr_meliscore_tool_platform_title';
        $textMessage = 'tr_meliscore_tool_platform_prompts_delete_failed';
        
        $id = 0;
        $success = 0;
        $platform = '';
        
        if($this->getRequest()->isPost())
        {
            $id = (int) $this->getRequest()->getPost('id');
            if(is_numeric($id))
            {
                $domainData = $platformTable->getEntryById($id);
                $domainData = $domainData->current();
                if(!empty($domainData)) 
                {
                    $platform = $domainData->plf_name;
                    $platformTable->deleteById($id);
                    $textMessage = 'tr_meliscore_tool_platform_prompts_delete_success';
                    $success = 1;
                }
            }
        }
        
        $response = array(
            'textTitle' => $textTitle,
            'textMessage' => $textMessage,
            'success' => $success
        );
        
        $eventData = array_merge($response, array(
            'platform' => $platform,
            'id' => $id,
            'typeCode' => 'CORE_PLATFORM_DELETE',
            'itemId' => $id
        ));
        
        $this->getEventManager()->trigger('meliscore_platform_delete_end', $this, $eventData);
        
        return new JsonModel($response);
    }