平安校园
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
930 B

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