コード例 #1
0
        public IActionResult PlantsByType()
        {
            ViewData["Title"] = "Plants by Plant Type";
            PlantRepository            r     = new PlantRepository();
            PlantsByAttributeViewModel model = r.GetPlantsByType();

            return(View(model));
        }