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

1234567891011121314151617181920212223242526272829303132333435
  1. 
  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. }