einfach alles

This commit is contained in:
Jonathan Jenne
2023-12-05 15:40:16 +01:00
parent 763ac96f4e
commit 6f91ecac83
14 changed files with 522 additions and 247 deletions

View File

@@ -44,11 +44,16 @@ Public MustInherit Class BaseController
Return True
End If
Return ActionService.DeleteEnvelope(pEnvelope)
If pEnvelope.IsAlreadySent Then
Return ActionService.DeleteEnvelope(pEnvelope)
Else
Return DeleteEnvelopeFromDisk(pEnvelope)
End If
End Function
Public Function DeleteEnvelope_Old(pEnvelope As Envelope) As Boolean
Public Function DeleteEnvelopeFromDisk(pEnvelope As Envelope) As Boolean
If pEnvelope Is Nothing Then
Return True
End If