ICollectionService.cs 618 B

12345678910111213141516171819202122
  1. using System.Threading.Tasks;
  2. using GxPress.Common.Page;
  3. using GxPress.Request.App.Collection;
  4. using GxPress.Result.App.Collection;
  5. namespace GxPress.Service.Interface.Collection
  6. {
  7. public interface ICollectionService : IService
  8. {
  9. Task<bool> Insert(CollectionInRequest request);
  10. Task<PagedList<CollectionListPageResult>> PageListAsync(CollectionPageSearchRequest request);
  11. /// <summary>
  12. /// 获取收藏详情
  13. /// </summary>
  14. /// <param name="id"></param>
  15. /// <returns></returns>
  16. Task<CollectionResult> GetCollectionDetailAsync(int id);
  17. }
  18. }