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())); }