public void RemoveRequestToTheManager(RequestToTheManager oldRequestToTheManager) { if (oldRequestToTheManager == null) { return; } if (this.requestToTheManager != null) { if (this.requestToTheManager.Contains(oldRequestToTheManager)) { this.requestToTheManager.Remove(oldRequestToTheManager); } } }
public void AddRequestToTheManager(RequestToTheManager newRequestToTheManager) { if (newRequestToTheManager == null) { return; } if (this.requestToTheManager == null) { this.requestToTheManager = new System.Collections.ArrayList(); } if (!this.requestToTheManager.Contains(newRequestToTheManager)) { this.requestToTheManager.Add(newRequestToTheManager); } }