private IResource ToResource(IEtpAdapter etpAdapter, Well entity) { return(etpAdapter.CreateResource( uuid: null, uri: entity.GetUri(), resourceType: ResourceTypes.DataObject, name: entity.Name, count: _wellboreDataProvider.Count(entity.GetUri()), lastChanged: entity.GetLastChangedMicroseconds())); }