public dynamic GetPropertyEnumProperty(int propertyId) { var orchestrator = new PropertyOrchestrator(new ModelStateWrapper(this.ModelState)); return(orchestrator.GetPropertyEnumProperty(propertyId).GetResponse()); }
public dynamic CreateProperty([FromBody] CreatePropertyInputModel model) { var orchestrator = new PropertyOrchestrator(new ModelStateWrapper(this.ModelState)); return(orchestrator.CreateProperty(model).GetResponse()); }
public dynamic EditProperty(int propertyId, [FromBody] EditPropertyInputModel model) { var orchestrator = new PropertyOrchestrator(new ModelStateWrapper(this.ModelState)); return(orchestrator.EditProperty(propertyId, model).GetResponse()); }
public dynamic GetAllProperties() { var orchestrator = new PropertyOrchestrator(new ModelStateWrapper(this.ModelState)); return(orchestrator.GetAllProperties().GetResponse()); }