예제 #1
0
        public GetPropertyFloorResponseDto GetFloorsByProperty(int propertyId)
        {
            if (propertyId <= 0)
            {
                throw new PmsException("Property id is not valid.");
            }

            var response = new GetPropertyFloorResponseDto();

            response.PropertyFloors = _iPmsLogic.GetFloorsByProperty(propertyId);
            return(response);
        }