Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samueleresca/b8ff4ad86f15e39e24a0 to your computer and use it in GitHub Desktop.
Save samueleresca/b8ff4ad86f15e39e24a0 to your computer and use it in GitHub Desktop.
//Define the mock data
using System.Collections.Generic;
var data = new List{
new Location { id= 1 , gogId="ChIJ_w0bJLzUf0cRy_s3-sYl0UU", address="Via Zamboni, 16/d, 40126 Bologna, Italia", telephone="051 1889 9835", description=null,
geolocation="(44.495439, 11.348128999999972)", name="Lab16", openingHours="Lunedì: 07:00–03:00 | Martedì: 07:00–03:00 | Mercoledì: 07:00–03:00 | Giovedì: 07:00–03:00 | Venerdì: 07:00–03:00 | Sabato: 17:30–03:30 | Domenica: 17:30–03:30",
rating=4.4F, website="http://www.lab16.it/", url= "https://plus.google.com/108077084127565302676/about?hl=it-IT" ,
drinks =new List{
new Drink{ id= 4, description="Drink1", name="Drink1", price=5.00M},
new Drink{ id= 5, description="Drink2", name="Drink2", price=3.50M},
new Drink{ id=6, description="Drink3", name="Drink3", price=4.00M}
}
}
}.AsQueryable();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment