private void ExecuteDropLineCommand(ProfileConnectorModel parameter) { parameter.Departures.Add(_dragItem as ProfileConnectorModel); (_dragItem as ProfileConnectorModel).Arrivals.Add(parameter); NodeConnectors.Add(new NodeConnectorModel() { DepartureNode = _dragItem as ProfileConnectorModel, ArrivalNode = parameter, }); }