Beispiel #1
0
        public async Task <IActionResult> UpdateOrEditProperty([FromBody] PropertyModel property)
        {
            PropertyDE propertDE = new PropertyDE();
            await propertDE.AddOrEdit(property);

            return(Ok());
        }
Beispiel #2
0
        public async Task <IEnumerable <PropertyModel> > GetItemPropertyValues(int itemID)
        {
            PropertyDE propertDE = new PropertyDE();

            return(await propertDE.PropertyValueGet(itemID));
        }
Beispiel #3
0
        public async Task <IEnumerable <PropertyModel> > GetProperties(int categoryID = 0, int propertyID = 0)
        {
            PropertyDE propertDE = new PropertyDE();

            return(await propertDE.PropertyGet(categoryID, propertyID));
        }