public void Add(UserLocation userLocation) { if (userLocation.Type == UserLocation.LocationType.Start) { StartLocations.Append(userLocation); } else { EndLocations.Append(userLocation); } }
public bool IsEmpty() { return(!StartLocations.Any() && !EndLocations.Any()); }