I am trying to return a list of images as bytes to display on my view. I know how to return a single image by putting this in my controller
public FileContentResult DisplayImages(string packageID)
{
byte[] byteArray = imageConverter.GetImageAsBytes(
"\\filepath-to-image.jpeg");
return new FileContentResult(byteArray, "image/jpeg"
}
How do I modify this to return a list of byte[] and then according call it in my View.
Thanks