コード例 #1
0
        public IHttpActionResult GetType(int plantTypeID)
        {
            PlantService plantService = CreatePlantService();
            var          plant        = plantService.GetPlantByType(plantTypeID);

            return(Ok(plant));
        }