public ActionResult Create(StrandDomain stranddomain)
 {
     if (ModelState.IsValid)
     {
         context.StrandDomains.Add(stranddomain);
         context.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.PossibleGrades = context.Grades;
     ViewBag.PossibleStates = context.States;
     ViewBag.PossibleSubjects = context.Subjects;
     return View(stranddomain);
 }
 public ActionResult Edit(StrandDomain stranddomain)
 {
     if (ModelState.IsValid)
     {
         context.Entry(stranddomain).State = EntityState.Modified;
         context.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.PossibleGrades = context.Grades;
     ViewBag.PossibleStates = context.States;
     ViewBag.PossibleSubjects = context.Subjects;
     return View(stranddomain);
 }