예제 #1
0
 public ActionResult Edit([Bind(Include = "aboutID,about1")] ABOUT aBOUT)
 {
     db.Entry(aBOUT).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
예제 #2
0
 public ActionResult Edit([Bind(Include = "goalID,period,actualValue,goalValue,fiscalYear,subcategory,category,workstream,team")] GOAL gOAL)
 {
     db.Entry(gOAL).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
예제 #3
0
 public ActionResult Edit([Bind(Include = "workstreamID,workstreamName")] WORKSTREAM wORKSTREAM)
 {
     db.Entry(wORKSTREAM).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
예제 #4
0
 public ActionResult Edit([Bind(Include = "categoryID,categoryName")] CATEGORY cATEGORY)
 {
     db.Entry(cATEGORY).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
예제 #5
0
 public ActionResult Edit([Bind(Include = "teamID,teamName")] TEAM tEAM)
 {
     db.Entry(tEAM).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }