<?php

namespace Biz\Marker\Service;

interface QuestionMarkerResultService
{
    public function getQuestionMarkerResult($id);

    public function addQuestionMarkerResult($result);

    public function updateQuestionMarkerResult($id, $result);

    public function deleteByQuestionMarkerId($questionMarkerId);

    public function finishQuestionMarker($questionMarkerId, $fields);

    public function findByUserIdAndMarkerId($userId, $markerId);

    public function findByUserIdAndQuestionMarkerId($userId, $questionMarkerId);

    public function findByTaskIdAndQuestionMarkerId($taskId, $questionMarkerId);
}
