public ActionResult AddSuggestionForm(Suggestion suggestion) { var ops = new SuggestionOperations(); ops.AddSuggestion(suggestion); return View("ConfirmationPage"); }
public ActionResult ViewSuggestions() { var ops = new SuggestionOperations(); var response = ops.DisplaySuggestions(); return View(response); }
public ActionResult DeleteSuggestion(int suggestionID) { var ops = new SuggestionOperations(); ops.DeleteSuggestions(suggestionID); return RedirectToAction("ViewSuggestions"); }