Beispiel #1
0
        public ActionResult AddGuest()
        {
            string name      = Request.Form["Name"];
            string guestText = Request.Form["Text"];

            blogContext.AddGuest(name, guestText);
            return(View("../Home/Guest", blogContext.Guests.ToList()));
        }