public function createMark(Result $result, User $user, $mark)
    {
        $mark = new Mark($result, $user, $mark);
        $this->om->persist($mark);
        $this->om->flush();

        $newMarkEvent = new LogResultsNewMarkEvent($mark);
        $this->dispatcher->dispatch('log', $newMarkEvent);

        return $mark;
    }