public ActionResult Create([Bind(Include = "Id,Name,Color")] Flower flower) { if (ModelState.IsValid) { flowerRepository.CreateFlower(flower); return(RedirectToAction("Index")); } return(View(flower)); }