refactor(EnvelopeDocument): rename as Document
This commit is contained in:
@@ -159,7 +159,7 @@ Public Class EnvelopeEditorController
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Async Function CreateDocument(pDocumentFilePath As String) As Threading.Tasks.Task(Of EnvelopeDocument)
|
||||
Public Async Function CreateDocument(pDocumentFilePath As String) As Threading.Tasks.Task(Of Document)
|
||||
Try
|
||||
Dim oFixedPath = FixPageRotation.FixPageRotation(pDocumentFilePath)
|
||||
If oFixedPath <> pDocumentFilePath Then
|
||||
@@ -177,7 +177,7 @@ Public Class EnvelopeEditorController
|
||||
|
||||
Dim oFileInfoTemp = New FileInfo(oTempFilePath)
|
||||
|
||||
Dim oDocument = New EnvelopeDocument() With {
|
||||
Dim oDocument = New Document() With {
|
||||
.Filename = oFileInfoTemp.Name,
|
||||
.Filepath = oFileInfoTemp.FullName,
|
||||
.FileNameOriginal = oFileInfo.Name,
|
||||
@@ -230,7 +230,7 @@ Public Class EnvelopeEditorController
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Overloads Function DeleteDocument(pDocument As EnvelopeDocument) As Boolean
|
||||
Public Overloads Function DeleteDocument(pDocument As Document) As Boolean
|
||||
Dim oConnection As SqlConnection = Database.GetConnection
|
||||
Dim oTransaction As SqlTransaction = oConnection.BeginTransaction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user