public function createDeleteForm(Message $message, $access = "ajax")
    {
        $form_name = "message_delete_" . $message->getId();
        return $this->get('form.factory')->createNamedBuilder($form_name,FormType::class)
            ->setAction($this->generateUrl('message_delete', array(
                'id' => $message->getId(),
                'access' => $access)))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }