平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.0 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 模块管理服务
  5. /// </summary>
  6. public interface IModuleService : ITransient
  7. {
  8. /// <summary>
  9. /// 添加模块
  10. /// </summary>
  11. /// <param name="input">添加参数</param>
  12. /// <returns></returns>
  13. Task Add(ModuleAddInput input);
  14. /// <summary>
  15. /// 删除模块
  16. /// </summary>
  17. /// <param name="input">删除参数</param>
  18. /// <returns></returns>
  19. Task Delete(BaseIdListInput input);
  20. /// <summary>
  21. /// 编辑模块
  22. /// </summary>
  23. /// <param name="input">编辑参数</param>
  24. /// <returns></returns>
  25. Task Edit(ModuleEditInput input);
  26. /// <summary>
  27. /// 分页查询
  28. /// </summary>
  29. /// <param name="input">分页参数</param>
  30. /// <returns></returns>
  31. Task<SqlSugarPagedList<SysResource>> Page(ModulePageInput input);
  32. /// <summary>
  33. /// 模块详情
  34. /// </summary>
  35. /// <param name="input"></param>
  36. /// <returns></returns>
  37. Task<SysResource> Detail(BaseIdInput input);
  38. }