Example #1
0
        public GetExpenseCategoryResponseDto GetExpenseCategoryByProperty(int propertyId)
        {
            if (propertyId <= 0)
            {
                throw new PmsException("Property id is not valid.");
            }

            var response = new GetExpenseCategoryResponseDto();

            response.ExpenseCategories = _iPmsLogic.GetExpenseCategoryByProperty(propertyId);

            return(response);
        }