public ActionResult Scan(string marketPlace, HttpPostedFileBase inputFile) { List <ProductData> products = PricingBusiness.ScanProduct(marketPlace, inputFile.InputStream); return(Json(products, JsonRequestBehavior.AllowGet)); }