public override void DeleteTreeViewObject() { SubrouteInRouteService service = new SubrouteInRouteService(); service.DeleteSubrouteInRoute(this); service.RemoveRelationShips(this); }
private void RemoveSubrouteFromRoute(SubroutesInRoute subrouteInRoute) { //remove from database SubrouteInRouteService service = new SubrouteInRouteService(); service.DeleteSubrouteInRoute(subrouteInRoute); //remove from overall structure service.RemoveRelationShips(subrouteInRoute); ArrangeSequences(); }