using YBEE.EQM.Core;

namespace YBEE.EQM.Application;

/// <summary>
/// 试卷大题管理服务
/// </summary>
public interface IExamPaperQuestionMajorService
{
    /// <summary>
    /// 添加
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task Add(AddExamPaperQuestionMajorInput input);
    /// <summary>
    /// 更新
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task Update(UpdateExamPaperQuestionMajorInput input);
    /// <summary>
    /// 删除
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task Del(BaseId input);
    /// <summary>
    /// 根据试卷ID获取大题列表
    /// </summary>
    /// <param name="examPaperId"></param>
    /// <returns></returns>
    Task<List<ExamPaperQuestionMajorOutput>> GetListByExamPaperId(int examPaperId);
}
