public Task <bool> Insert(ResourceSet resourceSet) { if (resourceSet == null) { throw new ArgumentNullException(nameof(resourceSet)); } _resources.Add(resourceSet.Copy()); return(Task.FromResult(true)); }