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

IBuildingService.cs 1.1 KiB

1 month ago
1 month ago
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. 
  2. using SafeCampus.Application.Services.Business.CameraInfoService;
  3. namespace SafeCampus.Application.Services.Business.BuildingService;
  4. public interface IBuildingService:ITransient
  5. {
  6. /// <summary>
  7. /// 添加
  8. /// </summary>
  9. /// <param name="input">添加参数</param>
  10. /// <returns></returns>
  11. Task<bool> Add(BuildingInfoDto input);
  12. /// <summary>
  13. /// 修改
  14. /// </summary>
  15. /// <param name="input">添加参数</param>
  16. /// <returns></returns>
  17. Task<bool> Update(BuildingInfoDto input);
  18. /// <summary>
  19. /// 获取信息
  20. /// </summary>
  21. /// <param name="input">添加参数</param>
  22. /// <returns></returns>
  23. Task<BuildingInfoDto> GetInfo(long id);
  24. /// <summary>
  25. /// 删除
  26. /// </summary>
  27. /// <param name="id">id</param>
  28. /// <returns></returns>
  29. Task<bool> Delete(long id);
  30. /// <summary>
  31. /// 获取列表
  32. /// </summary>
  33. /// <returns></returns>
  34. Task<List<BuildingInfoDto>> GetNoPageList();
  35. /// <summary>
  36. /// 获取寝室使用的摄像头
  37. /// </summary>
  38. /// <returns></returns>
  39. Task<List<string>> GetUseCameraList();
  40. }