ITeacherRepository.cs 778 B

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