Example #1
0
        public ActionResult Create([Bind(Include = "Id,Title,NumberOfMembers,YearOfFoundation,YearOfEnd")] Band band)
        {
            if (ModelState.IsValid)
            {
                ss.AddBand(band);
                return(RedirectToAction("Index"));
            }

            return(View(band));
        }