using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Domain.Services;
using YGNT.QuestionLibrary.Core.Chapters.Cache;
using YGNT.QuestionLibrary.Core.KnowledgePoints.Cache;

namespace YGNT.QuestionLibrary.Core.Papers.Domain
{
    public interface IPaperQuestionManager : IDomainService
    {

        /// <summary>
        /// 获取试卷下所有试题所包含的章节
        /// </summary>
        /// <param name="paper"></param>
        /// <returns></returns>
        Task<List<ChapterCacheItem>> GetPaperQuestionChapterAsync(Paper paper);

        /// <summary>
        /// 获取试卷下所有试题所包含的知识点
        /// </summary>
        /// <param name="paper"></param>
        /// <returns></returns>
        Task<List<KnowledgePointCacheItem>> GetPaperQuestionKnowledgePointAsync(Paper paper);
    }
}