public IHttpActionResult GetDaysToGerminate(int minDays, int maxDays) { PlantService plantService = CreatePlantService(); var plants = plantService.GetPlantByDaysToGerminate(minDays, maxDays); return(Ok(plants)); }