IExamPaperQuestionMajorService.cs 890 B

12345678910111213141516171819202122232425262728293031323334
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 试卷大题管理服务
  5. /// </summary>
  6. public interface IExamPaperQuestionMajorService
  7. {
  8. /// <summary>
  9. /// 添加
  10. /// </summary>
  11. /// <param name="input"></param>
  12. /// <returns></returns>
  13. Task Add(AddExamPaperQuestionMajorInput input);
  14. /// <summary>
  15. /// 更新
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task Update(UpdateExamPaperQuestionMajorInput input);
  20. /// <summary>
  21. /// 删除
  22. /// </summary>
  23. /// <param name="input"></param>
  24. /// <returns></returns>
  25. Task Del(BaseId input);
  26. /// <summary>
  27. /// 根据试卷ID获取大题列表
  28. /// </summary>
  29. /// <param name="examPaperId"></param>
  30. /// <returns></returns>
  31. Task<List<ExamPaperQuestionMajorOutput>> GetListByExamPaperId(int examPaperId);
  32. }