public int LoadDataVoters() { HttpPostedFile file = HttpContext.Current.Request.Files[0]; string path = HttpContext.Current.Server.MapPath("~/Content/Files/" + file.FileName); file.SaveAs(path); int electionId = int.Parse(HttpContext.Current.Request.Params["electionId"]); return(GeneralBL.LoadDataVoters(path, electionId)); }