public ActionResult Edit(Form f)
 {
     if (ModelState.IsValid)
     {
         // Save the changes to the Form
         f.CalculateSection1();
         f.CalculateSection2();
         f.CalculateSection3();
         f.CalculateSection4();
         f.CalculateSection5();
         formRepo.UpdateForm(f);
         TempData["message"] = string.Format("Form for Partnership Night {0} has been saved", f.DateOfPartnership);
         return RedirectToAction("Index");
     }
     else
     {
         // there is something wrong with the data values
         return View(f);
     }
 }