public List <WineDetails> DetailsData() { List <WineDetails> DetailsArray = new List <WineDetails>(); WineDetails w1 = new WineDetails(); w1.Type = "Name"; w1.Value = "Napa"; WineDetails w3 = new WineDetails(); w3.Type = "Grapetype"; w3.Value = "Erbaluce"; //w1.Type = "Grapetype"; //w1.Value = "Erbaluce"; //w1.Type = "Alcohol"; //w1.Value = "70%"; //w1.Type = "Vintage"; //w1.Value = "2011"; //w1.Type = "Aromas"; //w1.Value = "Floral"; //w1.Type = "FoodPairings"; //w1.Value = "fish"; //w1.Type = "Bottlesize"; //w1.Value = "750ml"; //w1.Type = "ServingAt"; //w1.Value = "10C"; WineDetails w2 = new WineDetails(); w2.Type = "Alcohol"; w2.Value = "Extra"; WineDetails w4 = new WineDetails(); w4.Type = "Vintage"; w4.Value = "2011"; WineDetails w5 = new WineDetails(); w5.Type = "Classification"; w5.Value = "Extra"; WineDetails w6 = new WineDetails(); w6.Type = "Classification"; w6.Value = "Extra"; WineDetails w7 = new WineDetails(); w7.Type = "Classification"; w7.Value = "Extra"; WineDetails w8 = new WineDetails(); w8.Type = "Classification"; w8.Value = "Extra"; DetailsArray.Add(w1); DetailsArray.Add(w2); DetailsArray.Add(w3); DetailsArray.Add(w4); DetailsArray.Add(w5); DetailsArray.Add(w6); DetailsArray.Add(w7); DetailsArray.Add(w8); return(DetailsArray); }
public List <WineDetails> SampleData1() { List <WineDetails> myArr1 = new List <WineDetails>(); WineDetails w1 = new WineDetails(); w1.Name = "Silver "; w1.Ratings = "Ratings"; w1.UserRatings = "User Ratings"; w1.Price = "Prise$"; w1.Vintage = "2001"; // w1.imageURL = "http://cdn.fluidretail.net/customers/c1477/13/97/48/_s/pi/n/139748_spin_spin2/main_variation_na_view_01_204x400.jpg"; WineDetails w2 = new WineDetails(); w2.Name = "Bodega Norton Reserve Malbec 2013"; w2.Price = "$19.99"; w2.Ratings = "15"; w2.UserRatings = "12"; w2.Vintage = "2001"; // w2.imageURL = "http://cdn.fluidretail.net/customers/c1477/13/97/48/_s/pi/n/139748_spin_spin2/main_variation_na_view_01_204x400.jpg"; WineDetails w3 = new WineDetails(); w3.Name = "Bodega Norton Reserve Malbec 2013"; w3.Ratings = "15"; w3.UserRatings = "12"; w3.Price = "$19.99"; w3.Vintage = "2001"; // w3.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; WineDetails w4 = new WineDetails(); w4.Name = "Bodega Norton Reserve Malbec 2013"; w4.Price = "$19.99"; w4.Ratings = "15"; w4.UserRatings = "12"; w4.Vintage = "2001"; // w4.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; //Wine w5 = new Wine(); //w5.Name = "Silver Oak Napa Valley Cabernet Sauvignon 2011"; //w5.Price = "$15.99"; //w5.Ratings = "15"; //w5.UserRatings = "12"; //w5.Vintage = "2001"; //w5.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; //Wine w6 = new Wine(); //w6.Name = "Bodega Norton Reserve Malbec 2013"; //w6.Price = "$19.99"; //w6.Ratings = "15"; //w6.UserRatings = "12"; //w6.Vintage = "2001"; //w6.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; //Wine w7 = new Wine(); //w7.Name = "Bodega Norton Reserve Malbec 2013"; //w7.Price = "$19.99"; //w7.Ratings = "15"; //w7.UserRatings = "12"; //w7.Vintage = "2001"; //w7.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; //Wine w8 = new Wine(); //w8.Name = "Bodega Norton Reserve Malbec 2013"; //w8.Price = "$19.99"; //w8.Ratings = "15"; //w8.UserRatings = "12"; //w8.Vintage = "2001"; //w8.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; myArr1.Add(w1); myArr1.Add(w2); myArr1.Add(w3); myArr1.Add(w4); //myArr.Add(w5); //myArr.Add(w6); //myArr.Add(w7); //myArr.Add(w8); return(myArr1); }