예제 #1
0
        public ActionResult Create([Bind(Include = "Id,Naam,Postcode,Huisnummer,EMail")] Gast gast)
        {
            if (ModelState.IsValid)
            {
                db.CreateGast(gast);
                return(RedirectToAction("Index"));
            }

            return(View(gast));
        }