Skip to content

Instantly share code, notes, and snippets.

@stugcearar

stugcearar/DummyData.cs

Last active Mar 17, 2020
Embed
What would you like to do?
public class DummyData
{
public List<MyModel> MyList { get; set; }
public DummyData()
{
MyList.AddRange(new List<MyModel> {
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" },
new MyModel { Title="Quetzal",ImageUrl= "https://3st5z214fl815gruv3wvecis-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/CR-Quetzal_sized.jpg" }
});
}
public class MyModel
{
public string Title { get; set; }
public string ImageUrl { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.