namespace YBEE.EQM.Application; /// /// 高中选科组合管理服务 /// [ApiDescriptionSettings(Name = "ncee-course-comb")] [Route("ncee/course/comb")] public class NceeCourseCombAppService : IDynamicApiController { private readonly INceeCourseCombService _nceeCourseCombService; public NceeCourseCombAppService(INceeCourseCombService courseCombService) { _nceeCourseCombService = courseCombService; } /// /// 根据ID获取高中选科组合 /// /// /// public async Task GetById([FromQuery][Required] short id) { return await _nceeCourseCombService.GetById(id); } /// /// 获取所有高中选科组合 /// /// [AllowAnonymous] public async Task> GetAllList() { return await _nceeCourseCombService.GetAllList(); } }