EDMI: final changes to Client
This commit is contained in:
@@ -581,10 +581,7 @@ Public Class EDMIService
|
||||
|
||||
Public Function ImportFileIntoFileObject(Data As ImportFileIntoFileObjectRequest) As ImportFileIntoFileObjectResponse Implements IEDMIService.ImportFileIntoFileObject
|
||||
Try
|
||||
Dim oObjectStore = GlobalState.ObjectStores.
|
||||
Where(Function(o) o.Title = Data.ObjectStoreType).
|
||||
FirstOrDefault()
|
||||
|
||||
Dim oObjectStore = GlobalState.GetObjectStore(Data.ObjectStoreType)
|
||||
If oObjectStore Is Nothing Then
|
||||
Throw New KeyNotFoundException($"ObjectStore [{Data.ObjectStoreType}] was not found.")
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user