public async Task <IActionResult> UpdateOrEditProperty([FromBody] PropertyModel property) { PropertyDE propertDE = new PropertyDE(); await propertDE.AddOrEdit(property); return(Ok()); }
public async Task <IEnumerable <PropertyModel> > GetItemPropertyValues(int itemID) { PropertyDE propertDE = new PropertyDE(); return(await propertDE.PropertyValueGet(itemID)); }
public async Task <IEnumerable <PropertyModel> > GetProperties(int categoryID = 0, int propertyID = 0) { PropertyDE propertDE = new PropertyDE(); return(await propertDE.PropertyGet(categoryID, propertyID)); }