Refactor InsertReceiver method in EnvelopeEditorController
Removed conditional check for receiver ID in InsertReceiver. The method now always attempts to insert the receiver, simplifying the logic and ensuring consistent behavior.
This commit is contained in:
@@ -402,11 +402,7 @@ Public Class EnvelopeEditorController
|
||||
End Function
|
||||
|
||||
Private Function InsertReceiver(pReceiver As Receiver, pTransaction As SqlTransaction) As Boolean
|
||||
If pReceiver.HasId = False Then
|
||||
Return ReceiverModel.Insert(pReceiver, pTransaction)
|
||||
Else
|
||||
Return True
|
||||
End If
|
||||
Return ReceiverModel.Insert(pReceiver, pTransaction)
|
||||
End Function
|
||||
|
||||
Public Function GetLastNameByEmailAdress(pEmailAdress As String) As String
|
||||
|
||||
Reference in New Issue
Block a user