private List <Image> GetSampleImage() { List <Image> images = new List <Image>(); string directory = AssemblyHelpers.GetDirectoryFoeAssembly(Assembly.GetExecutingAssembly()); var fileCat = File.ReadAllBytes(directory + "/Content/images/crazyCat.jpg"); var fileHedgehog = File.ReadAllBytes(directory + "/Content/images/hedgehog.jpg"); Image catImg = new Image { Content = fileCat, FileExtension = "jpg" }; Image HedgehogImg = new Image { Content = fileHedgehog, FileExtension = "jpg" }; images.Add(catImg); images.Add(HedgehogImg); return(images); }