示例#1
0
        public GetPaymentTypeResponseDto GetPaymentTypeByProperty(int propertyId)
        {
            if (propertyId <= 0)
            {
                throw new PmsException("Property id is not valid.");
            }

            var response = new GetPaymentTypeResponseDto();

            response.PaymentTypes = _iPmsLogic.GetPaymentTypeByProperty(propertyId);

            return(response);
        }