IAttachRepository.cs 665 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. using GxPress.Common.Page;
  5. using GxPress.Request.Attach;
  6. namespace GxPress.Repository.Interface.Attach
  7. {
  8. public interface IAttachRepository : IRepository
  9. {
  10. Task<bool> DeleteAsync(int id);
  11. Task<PagedList<Entity.tede2.Attach.Attach>> GetAllAsync(AttachRequest request);
  12. Task<IEnumerable<Entity.tede2.Attach.Attach>> GetSearchAllAsync(AttachRequest request);
  13. Task<Entity.tede2.Attach.Attach> GetAsync(int id);
  14. Task<int> InsertAsync(Entity.tede2.Attach.Attach note);
  15. Task<bool> UpdateAsync(Entity.tede2.Attach.Attach note);
  16. }
  17. }