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")); }
public ActionResult Create([Bind(Include = "aboutID,about1")] ABOUT aBOUT) { db.ABOUTs.Add(aBOUT); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Create([Bind(Include = "categoryID,categoryName")] CATEGORY cATEGORY) { db.CATEGORies.Add(cATEGORY); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Create([Bind(Include = "workstreamID,workstreamName")] WORKSTREAM wORKSTREAM) { db.WORKSTREAMs.Add(wORKSTREAM); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Create([Bind(Include = "subcategoryID,subcategoryName")] SUBCATEGORY sUBCATEGORY) { db.SUBCATEGORies.Add(sUBCATEGORY); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Create([Bind(Include = "teamID,teamName")] TEAM tEAM) { db.TEAMs.Add(tEAM); db.SaveChanges(); return(RedirectToAction("Index")); }
public void Save() { _dbContext.SaveChanges(); }