IMiddleLableNexusRepository.cs 805 B

12345678910111213141516171819202122232425262728
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. namespace GxPress.Repository.Interface.Navigation
  5. {
  6. public interface IMiddleLableNexusRepository : IRepository
  7. {
  8. /// <summary>
  9. /// 添加
  10. /// </summary>
  11. /// <param name="middleLableId"></param>
  12. /// <param name="ids"></param>
  13. /// <returns></returns>
  14. Task<bool> InsertAsync(int middleLableId, List<int> ids);
  15. /// <summary>
  16. /// 查询
  17. /// </summary>
  18. /// <param name="middleLableId"></param>
  19. /// <returns></returns>
  20. Task<IEnumerable<int>> GetAllTaskAsync(int middleLableId);
  21. Task<bool> DeleteByMiddleLableIdAsync(int middleLableId);
  22. Task<bool> UpdateAsync(int middleLableId, string lableId);
  23. }
  24. }