public ActionResult ExportForRequirementApplicant(string mrfid) { ApplicantExport export = new ApplicantExport(); var ms = export.ExportForRequirementApplicant(mrfid); return(File(ms.ToArray(), "application/vnd.ms-excel", "Applicant-For-Requirement-List-" + mrfid + ".xls")); }
public ActionResult ExportAcceptedRequirement(string mrfid) { ApplicantExport export = new ApplicantExport(); var ms = export.ExportAcceptedApplicant(mrfid); return(File(ms.ToArray(), "application/vnd.ms-excel", "Placement Report - " + mrfid + ".xls")); }
public ActionResult ExportConfirmedApplicant(string mrfid) { ApplicantExport export = new ApplicantExport(); var ms = export.ExportConfirmedApplicant(mrfid); return(File(ms.ToArray(), "application/vnd.ms-excel", "Applicant-Confirmed-List-" + mrfid + ".xls")); }