#pragma once

#include <maps/wikimap/mapspro/libs/assessment/include/sample.h>
#include <pqxx/pqxx>

namespace maps::wiki::assessment::samples {

TId create(
    pqxx::transaction_base& txn,
    Entity::Domain domain,
    Qualification qualification,
    const std::string& name);

TId createTask(
    pqxx::transaction_base& txn,
    TId sampleId,
    TId unitId,
    const TIds& competenceIds);

} // maps::wiki::assessment::samples
