// GET: Flowers public ActionResult Index() { return(View(flowerRepository.GetFlowers())); }
public ActionResult AddFlowers() { ViewBag.FlowerId = new SelectList(flowerRepository.GetFlowers(), "Id", "Name"); ViewBag.PlantationId = new SelectList(plantationRepository.GetPlantations(), "Id", "Name"); return(View(new PlantationFlower())); }