public function listSections(Request $request)
{
if ($request->query->has('identifier')) {
$sections = array($this->loadSectionByIdentifier($request));
} else {
$sections = $this->sectionService->loadSections();
}
return new Values\SectionList($sections, $request->getPathInfo());
}