IMiddleLableNexusRepository.cs 941 B

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