Untitled
unknown
plain_text
6 months ago
770 B
0
Indexable
Never
public async Task<List<MyListings>> GetAll() { return (await client.Child($"Lessors/{lessorkey}/Properties") .OnceAsync<MyListings>()) .Select(item => new MyListings { PropertyName = item.Object.PropertyName, PropertyDescription = item.Object.PropertyDescription, PropertyStock = item.Object.PropertyStock, PropMainImage = item.Object.PropMainImage, PropImg_1 = item.Object.PropImg_1, PropImg_2 = item.Object.PropImg_2, PropImg_3 = item.Object.PropImg_3, PropImg_4 = item.Object.PropImg_4 }).ToList(); }