public System.Web.Mvc.FileContentResult DownloadVaccination() { string contentType = "text/html"; string fileName = "Vaccination.html"; InformationBAL _bal = new InformationBAL(); var content = _bal.DownloadVaccination().ToArray(); return(File(content, contentType, fileName)); }