コード例 #1
0
        public IActionResult PlantsBySoilPreference(string id = "")
        {
            ViewData["Title"] = "Plants by Soil Preference";
            PlantRepository            r     = new PlantRepository();
            PlantsByAttributeViewModel model = r.GetPlantsBySoilPreference(id);

            return(View(model));
        }