public ActionResult DeleteConfirmed(long id)
        {
            ExpectedChangesSummary expectedChangesSummary = db.ExpectedChangesSummary.Find(id);

            db.ExpectedChangesSummary.Remove(expectedChangesSummary);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "GrantId,Outputs,VAWEliminated,RightsToBodilyIntegrity,AccessNecessarySupport,IncreasingSupportOfVAW,LawsAndPoliciesToPreventAndRespondToVAW,EconomicRightsAndJusticeForWomenProtected,AwareOfLabourAndEconomicRights,RecogniseAfricanWomensEconomicContributions,PoliciesAndLawsToProtectWomensEconomicRights,ParticipationOfWomenSustained,AwarenessOfGenderedChallenges,ParticipationInPolicyAndDecisionMakingProcesses,LawsAndPoliciesForAfricanWomensPoliticalRights")] ExpectedChangesSummary expectedChangesSummary)
 {
     if (ModelState.IsValid)
     {
         db.Entry(expectedChangesSummary).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(expectedChangesSummary));
 }
        // GET: ExpectedChangesSummaries/Delete/5
        public ActionResult Delete(long?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            ExpectedChangesSummary expectedChangesSummary = db.ExpectedChangesSummary.Find(id);

            if (expectedChangesSummary == null)
            {
                return(HttpNotFound());
            }
            return(View(expectedChangesSummary));
        }