public ActionResult Reporte() { string archivoExcel = gestorArchivos.Reporte(); FilePathResult download = new FilePathResult( archivoExcel, "application/vnd.ms-excel" ); download.FileDownloadName = "Reporte_2016.xls"; return(download); }