public function deleteAction($zoneId, $componentId, Request $request)
    {
        if (!$zone = $this->container->get('synapse.zone.loader')->retrieve($zoneId)) {
            throw new NotFoundHttpException(sprintf('No zone found under id "%s"', $zoneId));
        }
        if (!$component = $this->container->get('synapse.component.loader')->retrieve($componentId)) {
            throw new NotFoundHttpException(sprintf('No component found under id "%s"', $componentId));
        }

        $this->container->get('synapse.zone.domain')->removeComponent(
            $zone,
            $component
        );

        return new RedirectResponse(
            $request->server->get('HTTP_REFERER')
        );
    }