public void AddJobOrder(JobOrder job) { if (job == null) { throw new ArgumentNullException(nameof(job)); } if (!_jobOrders.Contains(job)) { _jobOrders.Add(job); } }
public void RemoveJobOrder(JobOrder job) { if (job == null) { throw new ArgumentNullException(nameof(job)); } if (_jobOrders.Contains(job)) { _jobOrders.Remove(job); } }