public function getAuthorsTypesAction()
{
$em = $this->container->get('em');
$authorsTypes = $em->getRepository('Newscoop\\Entity\\AuthorType')->getAuthorsTypes();
$paginator = $this->get('newscoop.paginator.paginator_service');
$authorsTypes = $paginator->paginate($authorsTypes);
return $authorsTypes;
}