public ActionResult UploadRFC(HttpPostedFileBase fileInput) { if (fileInput != null) { //se obtiene los datos de la sucursal var sucursal = Session["sucursal"] as SucursalDatos; Empleados emp = new Empleados(); System.IO.StreamReader Reader = new System.IO.StreamReader(fileInput.InputStream); var idemp = emp.ActualizarRfcValidadosFromSat(Reader, sucursal.IdSucursal); TempData["idemp"] = idemp; return(RedirectToAction("RFCNoValidos", "valRFC")); } else { return(Index()); } }