IMiddleLableRepository.cs 667 B

12345678910111213141516171819202122
  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 IMiddleLableRepository : IRepository
  8. {
  9. Task<Entity.Navigations.MiddleLable> GetAsync(int id);
  10. Task<Entity.Navigations.MiddleLable> GetAsync(string name);
  11. Task<bool> DeleteAsync(int id);
  12. Task<int> InsertAsync(Entity.Navigations.MiddleLable note);
  13. Task<bool> UpdateAsync(MiddleLableUpRequest request);
  14. Task<bool> UpdateAsync(SqlKata.Query query);
  15. Task<IEnumerable<Entity.Navigations.MiddleLable>> GetAllAsync();
  16. }
  17. }