//TODO: public ActionResult ManageFeedback() { if (!Application.IsAuthenticated && Application.AdminType != 2) { ViewBag.Header = "Authorization Level Too Low"; ViewBag.Message = "Your authorization is not valid for this type of operation"; return View("Message", "_LayoutGuest"); } FeedbackViewModel model = new FeedbackViewModel(Application.Db); return View(model); }
public ActionResult Response(int id) { FeedbackViewModel model = new FeedbackViewModel(Application.Db, id, Application.TeacherID); return View(model); }