public PinViewModel RemoveMapPosition(MapPosition mapPosition) { var removedPin = Pins.Find(p => p.MapPosition == mapPosition); if (removedPin != null) { removedPin.Remove(); Pins.Remove(removedPin); } return(removedPin); }