public ActionResult Information() { InformationBAL _bal = new InformationBAL(); IEnumerable <DAL.Models.InformationDissemination> ids = _bal.GetInformationDisseminations(); return(View(ids)); }
public System.Web.Mvc.FileContentResult DownloadHygenicMilk() { string contentType = "text/html"; string fileName = "HygenicMilk.html"; InformationBAL _bal = new InformationBAL(); var content = _bal.DownloadHygenicMilk().ToArray(); return(File(content, contentType, fileName)); }
public System.Web.Mvc.FileContentResult DownloadFertilityManagement() { string contentType = "text/html"; string fileName = "FertilityManagement.html"; InformationBAL _bal = new InformationBAL(); var content = _bal.DownloadFertilityManagement().ToArray(); return(File(content, contentType, fileName)); }