IDepartmentService.cs 695 B

1234567891011121314151617181920212223
  1. using System.Threading.Tasks;
  2. using GxPress.Request.Department;
  3. using GxPress.Result.Department;
  4. namespace GxPress.Service.Interface.Department
  5. {
  6. public interface IDepartmentService : IService
  7. {
  8. /// <summary>
  9. /// 删除部门包括下面的子集和用户
  10. /// </summary>
  11. /// <param name="id"></param>
  12. /// <returns></returns>
  13. Task<bool> DeleteAsync(int id);
  14. /// <summary>
  15. /// 根据部门ID获取成员以及下级部门
  16. /// </summary>
  17. /// <param name="request"></param>
  18. /// <returns></returns>
  19. Task<DepartmentUserResult> GetDepartmentUserResultAsync(DepartmentUserRequest request);
  20. }
  21. }