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