19 lines
545 B
C#
19 lines
545 B
C#
using CommonDomain;
|
|
using MongoRepository;
|
|
|
|
namespace UserService.Notices
|
|
{
|
|
public interface IFaqService
|
|
{
|
|
Task<List<FaqCategory>> GetAllCategories();
|
|
Task<List<FaqCategoryTreeNode>> GetCategoryTree();
|
|
Task<FaqCategory?> GetCategoryById(string id);
|
|
|
|
|
|
Task<List<FaqQuestion>> GetQuestionsByCategory(string categoryId);
|
|
Task<(List<FaqQuestion> list, long count)> QueryQuestions(string? categoryId, int pageIndex, int pageSize);
|
|
Task<FaqQuestion?> GetQuestionById(string id);
|
|
|
|
}
|
|
}
|