平安校园
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.

ISpaService.cs 1011 B

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