public function deleteDeliveryAction($id)
    {
        $em = $this->container->get('doctrine')->getManager();
        $user = $this->container->get('security.token_storage')->getToken()->getUser();
        $address = $em->getRepository('EcommerceBundle:Address')
            ->findOneBy(array(
                    'id'   => $id,
                    'actor' => $user,
                ));
        if (is_null($address)) {
            throw new AccessDeniedException();
        }

        $em->remove($address);
        $em->flush();

        $url = $this->container->get('router')->generate('core_actor_profile').'?delivery=1';
        $this->container->get('session')->getFlashBag()->add('success', 'account.address.deleted');
        return new RedirectResponse($url);
    }