public void Export(DataConnection dataConnection) { if (dataConnection == null) { throw new ArgumentNullException(nameof(dataConnection)); } _dataService.Export(); _dataEndpoint.Export(dataConnection); }