using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 监测科目管理服务 /// public class ExamCourseAppService : IDynamicApiController { private readonly IExamCourseService _examCourseService; public ExamCourseAppService(IExamCourseService examCourseService) { _examCourseService = examCourseService; } /// /// 添加监测科目 /// /// /// public async Task Add(AddExamCourseInput input) { await _examCourseService.Add(input); } /// /// 更新监测科目 /// /// /// public async Task Update(UpdateExamCourseInput input) { await _examCourseService.Update(input); } /// /// 删除监测科目 /// /// /// public async Task Del(BaseId input) { await _examCourseService.Del(input); } /// /// 根据ID获取监测科目信息 /// /// /// public async Task GetById(int id) { return await _examCourseService.GetById(id); } /// /// 查询监测年级列表 /// /// /// public async Task> QueryList(QueryExamCourseInput input) { return await _examCourseService.QueryList(input); } }