平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

42 righe
1.1 KiB

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