|
@@ -134,7 +134,7 @@ namespace UnivateProperties_API.Repository.Properties
|
134
|
134
|
|
135
|
135
|
foreach (string prop in property.GetAllProperties())
|
136
|
136
|
{
|
137
|
|
- if (prop != "Item")
|
|
137
|
+ if (prop != "Item" && prop != "Display")
|
138
|
138
|
propertyDetails[prop] = property[prop];
|
139
|
139
|
}
|
140
|
140
|
|
|
@@ -211,7 +211,7 @@ namespace UnivateProperties_API.Repository.Properties
|
211
|
211
|
var property = new Property();
|
212
|
212
|
foreach (string prop in property.GetAllProperties())
|
213
|
213
|
{
|
214
|
|
- if (prop != "Item")
|
|
214
|
+ if (prop != "Item" && prop != "Display")
|
215
|
215
|
property[prop] = item[prop];
|
216
|
216
|
}
|
217
|
217
|
|