Example #1
0
        public ActionResult GiveFeedback(FeedbackEntity feedback)
        {
            bool isAdded = FeedbackBL.GiveFeedbackBL(feedback);

            if (isAdded)
            {
                string url = string.Format("/Movies/ListAllMovies");
                return(Redirect(url));
            }
            else
            {
                return(View(feedback));
            }
        }