I have the following code that I need to add an additonal object to after the results have been retrieved from the databse. Any Ideas on how I might to this ?
public IEnumerable<ProdPriceDisplay> GetShopProductsPrices()
{
//ProdPriceDisplay ProdPrice = new ProdPriceDisplay();
var Products = from shop in db.SHOPs
select new ProdPriceDisplay
{
ProdPrice = shop.S_NAME + " - £" + shop.S_PRICE
};
// *** Want to add something like this:-
// Products.Add new ProdPriceDisplay { ProdPrice = "some additional text"; }
return Products;
}