public List <Wine> SampleData() { List <Wine> myArr = new List <Wine>(); Wine w1 = new Wine(); w1.Name = "Silver Oak Napa Valley Cabernet Sauvignon 2011"; w1.Price = "$15.99"; w1.Ratings = "WS: 95 pts"; w1.UserRatings = "4.5"; w1.imageURL = "http://cdn.fluidretail.net/customers/c1477/13/97/48/_s/pi/n/139748_spin_spin2/main_variation_na_view_01_204x400.jpg"; w1.SKU = "1"; Wine w2 = new Wine(); w2.Name = "Bodega Norton Reserve Malbec 2013"; w2.Price = "$19.99"; w2.Ratings = "WS: TOP 100"; w2.UserRatings = "4.8"; w2.imageURL = "http://www.wineoutlet.com/labels/B24718.jpg"; w2.SKU = "24718"; Wine w3 = new Wine(); w3.Name = "Carpano Vermouth Antica Formula"; w3.Price = "$20.99"; w3.Ratings = "WE: 95 pts, UBC: 90"; w3.UserRatings = "3.8"; w3.imageURL = "http://library.bevnetwork.com/bottles/680/320985.jpg"; w3.SKU = "1778668"; Wine w4 = new Wine(); w4.Name = "Breca Old Vine Garnacha 2013"; w4.Price = "$11.99"; w4.Ratings = "No Ratings"; w4.UserRatings = "Not rated yet"; w4.imageURL = "http://library.bevnetwork.com/bottles/645/172959.jpg"; w4.SKU = "01247"; myArr.Add(w1); myArr.Add(w2); myArr.Add(w3); myArr.Add(w4); return(myArr); }
public List <Wine> SampleData() { List <Wine> myArr = new List <Wine>(); Wine w1 = new Wine(); w1.Name = "Silver Oak Napa Valley Cabernet Sauvignon 2011"; w1.Ratings = "Ratings"; w1.UserRatings = "User Ratings"; w1.Price = "Prise$"; w1.Vintage = "WS: TOP 100"; w1.imageURL = "http://cdn.fluidretail.net/customers/c1477/13/97/48/_s/pi/n/139748_spin_spin2/main_variation_na_view_01_204x400.jpg"; Wine w2 = new Wine(); w2.Name = "Bodega Norton Reserve Malbec 2013"; w2.Price = "$19.99"; w2.Ratings = "15"; w2.UserRatings = "12"; w2.Vintage = "WS: TOP 100"; w2.imageURL = "http://cdn.fluidretail.net/customers/c1477/13/97/48/_s/pi/n/139748_spin_spin2/main_variation_na_view_01_204x400.jpg"; Wine w3 = new Wine(); w3.Name = "Bodega Norton Reserve Malbec 2013"; w3.Ratings = "15"; w3.UserRatings = "12"; w3.Price = "$19.99"; w3.Vintage = "WS: TOP 100"; w3.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; Wine w4 = new Wine(); w4.Name = "Bodega Norton Reserve Malbec 2013"; w4.Price = "$19.99"; w4.Ratings = "15"; w4.UserRatings = "12"; w4.Vintage = "WS: TOP 100"; 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 = "WS: TOP 100"; 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 = "WS: TOP 100"; 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 = "WS: TOP 100"; 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 = "WS: TOP 100"; w8.imageURL = "http://www.savvyitsol.com/placeholder.jpeg"; myArr.Add(w1); myArr.Add(w2); myArr.Add(w3); myArr.Add(w4); myArr.Add(w5); myArr.Add(w6); myArr.Add(w7); myArr.Add(w8); return(myArr); }