Example #1
0
        public JsonResult UploadFile()
        {
            HttpPostedFileBase file = Request.Files[0];

            fileParsingHelper = new FileParsingHelper(String.Concat(Server.MapPath("~/Resc/TempUploads/"), file.FileName));
            fileParsingHelper.UploadInputFile(file);

            return(Json(fileParsingHelper.GetExcelData()));
        }