private void RemoveAction(ActionsHomeModel singlePC) { lock (this._currentActionsList) { this._currentActionsList.Remove(singlePC); } }
public void AddAction(ActionsHomeModel singlePC) { if (!this._currentActionsList.Contains(singlePC)) { lock (this._currentActionsList) { this._currentActionsList.Add(singlePC); } } }