Exemplo n.º 1
0
        public ActionResult AddSuggestionForm(Suggestion suggestion)
        {
            var ops = new SuggestionOperations();
            ops.AddSuggestion(suggestion);

            return View("ConfirmationPage");
        }
Exemplo n.º 2
0
 public ActionResult ViewSuggestions()
 {
     var ops = new SuggestionOperations();
     var response = ops.DisplaySuggestions();
     return View(response);
 }
Exemplo n.º 3
0
 public ActionResult DeleteSuggestion(int suggestionID)
 {
     var ops = new SuggestionOperations();
     ops.DeleteSuggestions(suggestionID);
     return RedirectToAction("ViewSuggestions");
 }