ISystemLabelRepository.cs 652 B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. using GxPress.Request.SystemLabel;
  5. using GxPress.Result.SystemLabel;
  6. namespace GxPress.Repository.Interface.SystemLabel
  7. {
  8. public interface ISystemLabelRepository : IRepository
  9. {
  10. Task<Entity.SystemLabel.SystemLabel> GetAsync(int id);
  11. Task<bool> DeleteAsync(int id);
  12. Task<int> InsertAsync(Entity.SystemLabel.SystemLabel note);
  13. Task<bool> UpdateAsync(SystemLabelUpRequest note);
  14. Task<IEnumerable<SystemLabelResult>> GetAllAsync();
  15. Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync(List<int> ids);
  16. }
  17. }