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:
parent
3e3c9d4c54
commit
a584a548d6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user