public string Get() { _bikeService.AddWheel(); _carService.AddPassanger(); _trainService.AddWagon(); return("Hello world!"); }
public void AddWagon() { _wagons++; _bikeService.AddWheel(); _log.LogInformation("Added a train wagon! Now there is {NumberOfWagons} wagons :-).", _wagons); }