Continued implementing FindBike functionality by using MyBikes as template.

This commit is contained in:
Oliver Hauff 2021-07-14 00:16:50 +02:00
parent 874166f26f
commit 8e84b6deda
5 changed files with 269 additions and 20 deletions

View file

@ -31,7 +31,7 @@ namespace TINK.Model.Bike
// Needed to remove bikes which switched state and have to be removed from collection.
var bikesToBeRemoved = this.Select(x => x.Id).ToList();
foreach (var bikeInfo in (bikesAll ?? new List<BikeInfo>()))
foreach (var bikeInfo in bikesAll ?? new List<BikeInfo>())
{
/// Check if bike has to be added to list of existing station.
if (ContainsKey(bikeInfo.Id) == false)