IAttachRepository.cs 536 B

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