IBuildingService.cs 872 B

1234567891011121314151617181920212223242526272829
  1. using Bowin.Common.Linq.Entity;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using YLShipBuildLandMap.Entity;
  7. using YLShipBuildLandMap.Entity.ViewModel.Build;
  8. namespace YLShipBuildLandMap.Services.Build
  9. {
  10. public interface IBuildingService
  11. {
  12. Task<List<BuildingView>> GetBuildingList();
  13. Task<List<FloorView>> GetFloorList(Guid? buildingId);
  14. Task<BuildingView> GetBuildingById(Guid? buildingId);
  15. Task<int> DeleteBuilding(List<Guid> buildingIdList);
  16. Task<int> DeleteFloor(Guid buildingFloorId);
  17. Task<int> SaveBuilding(BuildingView data, List<FloorView> floorList, Guid? userId);
  18. Task<List<BuildingXyAxisView>> GetBuildingXYAxisList(Guid? buildingId);
  19. Task<List<BuildingXyAxisGroupView>> GetBuildingXyAxisGroupList(Guid? buildingId);
  20. }
  21. }