Esempio n. 1
0
 public ActionResult Create([Bind(Include = "goalID,period,actualValue,goalValue,fiscalYear,subcategory,category,workstream,team")] GOAL gOAL)
 {
     db.GOALS.Add(gOAL);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 2
0
 public ActionResult Create([Bind(Include = "aboutID,about1")] ABOUT aBOUT)
 {
     db.ABOUTs.Add(aBOUT);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 3
0
 public ActionResult Create([Bind(Include = "categoryID,categoryName")] CATEGORY cATEGORY)
 {
     db.CATEGORies.Add(cATEGORY);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 4
0
 public ActionResult Create([Bind(Include = "workstreamID,workstreamName")] WORKSTREAM wORKSTREAM)
 {
     db.WORKSTREAMs.Add(wORKSTREAM);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 5
0
 public ActionResult Create([Bind(Include = "subcategoryID,subcategoryName")] SUBCATEGORY sUBCATEGORY)
 {
     db.SUBCATEGORies.Add(sUBCATEGORY);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 6
0
 public ActionResult Create([Bind(Include = "teamID,teamName")] TEAM tEAM)
 {
     db.TEAMs.Add(tEAM);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Esempio n. 7
0
 public void Save()
 {
     _dbContext.SaveChanges();
 }