public ActionResult <Bicycle> Get(int key) { var bicycle = _bicycleRepository.GetBicycle(key); if (bicycle == null) { return(NotFound($"Bicycle with key = {key} not found.")); } return(Ok(bicycle)); }