ITeacherRepository.cs 686 B

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