null) { product.ImageMimeType = image.ContentType; product.ImageData = new byte[image.ContentLength]; image.InputStream.Read(product.ImageData, 0, image.ContentLength); } //…Save product in the database using Entity Framework } }

You Might Also Like

Avatar of Richard77

Comments are closed.

 

Comments are closed.