refactor(EnvelopeDocument): rename as Document
This commit is contained in:
@@ -100,7 +100,7 @@ Public MustInherit Class BaseController
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Function DeleteDocument(pDocument As EnvelopeDocument, pTransaction As SqlTransaction) As Boolean
|
||||
Public Function DeleteDocument(pDocument As Document, pTransaction As SqlTransaction) As Boolean
|
||||
Try
|
||||
|
||||
If DocumentModel.Delete(pDocument.Id, pTransaction) = True Then
|
||||
@@ -137,7 +137,7 @@ Public MustInherit Class BaseController
|
||||
|
||||
End Function
|
||||
|
||||
Public Function DeleteDocumentFromDisk(pDocument As EnvelopeDocument) As Boolean
|
||||
Public Function DeleteDocumentFromDisk(pDocument As Document) As Boolean
|
||||
Try
|
||||
If IO.File.Exists(pDocument.Filepath) Then
|
||||
IO.File.Delete(pDocument.Filepath)
|
||||
|
||||
Reference in New Issue
Block a user