public async Task<ActionResult> Index(List<EducationModel> model)
 {
     if (ModelState.IsValid)
     {
         bool educationStored = false;
         using (var client = new DataServiceClient())
         {
             client.Open();
             var education = new List<Education>();
             foreach (var ed in model)
             {
                 var temp = new Education();
                 temp.applicantId = Convert.ToInt32(this.Session["ApplicantId"]);
                 temp.degreeMajor = ed.degree;
                 temp.graduatedYN = ed.graduated;
                 temp.street = ed.street;
                 temp.city = ed.city;
                 temp.stateAbrev = ed.state;
                 temp.zip = ed.zip;
                 temp.name = ed.name;
                 temp.yearFrom = ed.yearFrom;
                 temp.yearTo = ed.yearTo;
                 temp.applicantId = ed.applicantId;
                 temp.educationId = ed.educationId;
                 education.Add(temp);
             }
             educationStored = await client.updateEducationsAsync(education.ToArray());
             client.Close();
         }
         if (educationStored)
         {
             this.Session["Education"] = "Done";
             return RedirectToAction("Index", "References");
         }
         else
         {
             //error occured storing education 
         }
     }
     return View(model);
 }