IMediaLibraryRepository.cs 635 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. using Datory;
  5. using GxPress.Result.Media;
  6. namespace GxPress.Repository.Interface.Media
  7. {
  8. public interface IMediaLibraryRepository : IRepository
  9. {
  10. Task<Entity.tede2.Media.MediaLibrary> GetTaskAsync(int mediaId);
  11. /// <summary>
  12. /// 获取视频
  13. /// </summary>
  14. /// <param name="mediaId"></param>
  15. /// <param name="TypeId"></param>
  16. /// <returns></returns>
  17. Task<List<MediaLibraryResult>> GetAllAsync(int mediaId);
  18. Task<Entity.tede2.Media.MediaLibrary> GetAsync(int id);
  19. }
  20. }