INavigationRepository.cs 627 B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. using GxPress.Request.Navigation;
  5. using GxPress.Result.Navigation;
  6. namespace GxPress.Repository.Interface.Navigation
  7. {
  8. public interface INavigationRepository : IRepository
  9. {
  10. Task<Entity.Navigations.Navigation> GetAsync(int id);
  11. Task<bool> DeleteAsync(int id);
  12. Task<int> InsertAsync(Entity.Navigations.Navigation note);
  13. Task<bool> UpdateAsync(NavigationUpRequest request);
  14. Task<bool> UpdateAsync(SqlKata.Query query);
  15. Task<IEnumerable<NavigationResult>> GetAllAsync(int terminal);
  16. }
  17. }