Files
tiku-backend.net/Tiku.Application/Catalog/ICatalogQueryService.cs
2026-07-26 14:02:04 +08:00

33 lines
1.1 KiB
C#

namespace Tiku.Application.Catalog;
public interface ICatalogQueryService
{
Task<CatalogList<RegionCatalogItem>> GetRegionsAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<RegionModuleCatalogItem>> GetRegionModulesAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<ModuleNodeCatalogItem>> GetModuleNodesAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<SchoolCatalogItem>> GetSchoolsAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<MajorCatalogItem>> GetMajorsAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<SubjectCatalogItem>> GetSubjectsAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
Task<CatalogList<CategoryCatalogItem>> GetCategoriesAsync(
CatalogFilter filter,
CancellationToken cancellationToken = default);
}