public ActionResult Edit(int id) { BugTrackerModel btm = new BugTrackerModel(); BugTracker rettemp = btm.FindBugById(id); return(View(rettemp)); }
public ActionResult Delete(BugTracker bugtracker) { BugTrackerModel btm = new BugTrackerModel(); btm.Remove(bugtracker); return(RedirectToAction("BugsList")); }
public ActionResult Delete(int id) { BugTrackerModel btm = new BugTrackerModel(); BugTracker retbug = btm.FindBugById(id); return(View(retbug)); }
public ActionResult Create(BugTracker bugtracker) { BugTrackerModel btm = new BugTrackerModel(); btm.Add(bugtracker); return(RedirectToAction("BugsList")); }
public ActionResult BugsList(BugTrackerModel model) { return(View(model.BugTrackers)); }