Error

System.ArgumentException: Value cannot be null or empty. Parameter name: contentType at System.Web.Mvc.FileResult..ctor(String contentType) at System.Web.Mvc.FileContentResult..ctor(Byte[] fileContents, String contentType) at System.Web.Mvc.Controller.File(Byte[] fileContents, String contentType, String fileDownloadName) at ElibrarySiteUser.Controllers.EventController.GetEventPhoto(Int32 eventId) in D:\Projects\Project 2020\ElibrarySiteUser\ElibrarySiteUser\ElibrarySiteUser\Controllers\EventController.cs:line 78

Developed by the IT Department with the support of FAO and EU-funded ENPARD Program