Exemplo n.º 1
0
        public ActionResult ShowFeedback(FeedbackToDisplayViewModel feedback)
        {
            if (ModelState.IsValid)
            {
                return(View("SuccessfulFeedback", feedback));
            }

            return(View());
        }
Exemplo n.º 2
0
        public ActionResult ShowFeedback()
        {
            var model = new FeedbackToDisplayViewModel();

            return(View(model));
        }