public ActionResult Upload(HttpPostedFileBase upload) { try { if (upload != null) { cSVService.GetUsersFromCsvToDB(upload); } return(Redirect("/Home")); } catch (Exception) { return(View("Error")); } }