ISystemLabelRepository.cs 519 B

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