예제 #1
0
 private void ValidateBuilding(BuildingDto buildingDto, long adminId)
 {
     if (_buildingService.CheckBuildingRepeated(buildingDto, adminId))
     {
         throw new ValidationException(ErrorCodes.BuildingNameRepeated);
     }
 }