public ActionResult Download(int id) { var data = FileBLL.Get(id); string filePath = Server.MapPath("~/upload/" + data.FILEURL); return(File(filePath, "application/vnd.android", data.FILENAME)); }
public ActionResult Download(int id) { var data = FileBLL.Get(id); string filePath = Server.MapPath("~/upload/" + data.FILEURL); return(File(filePath, "application/vnd.android", data.FILENAME)); }