Fixes middleware not considering other Clients utilising the NetApp that is about to be deleted.
Fixes #226
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
What has been changed?
Fix: middleware doesn't remove NetApps that are used by other Clients
How Has This Been Tested?
[x] Deployed train detector NetApp and another action plan that utilizes it. When MW was asked to delete one of the Action Plans, it deleted it, but left the train detector intact as another NetApp was using it.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
Fixes middleware not considering other Clients utilising the NetApp that is about to be deleted.
Fixes #226
Type of change
What has been changed?
How Has This Been Tested?
Checklist: