refactor(.Extensions): Extensions nach Gruppen aufgeteilt.

- erstellt dekodierende Erweiterungen.
 - Kodierungserweiterungen erstellt.
 - XSS-Erweiterungen in das Extensions-Paket verschoben.
 - EncodeTypes vom Paket Common in das Paket Constants verschoben.
This commit is contained in:
Developer 02
2024-10-02 13:33:11 +02:00
parent a32f495038
commit dc997d5ff2
9 changed files with 211 additions and 190 deletions

View File

@@ -17,6 +17,7 @@ using EnvelopeGenerator.Application.Resources;
using EnvelopeGenerator.Application.DTOs.EnvelopeReceiver;
using EnvelopeGenerator.Domain.Entities;
using System.Text.RegularExpressions;
using static EnvelopeGenerator.Common.Constants;
namespace EnvelopeGenerator.Web.Controllers
{
@@ -60,7 +61,7 @@ namespace EnvelopeGenerator.Web.Controllers
return this.ViewDocumentNotFound();
}
if(decoded.GetEncodeType() == EncodeType.ReadOnly)
if(decoded.GetEncodeType() == EncodeType.EnvelopeReceiverReadOnly)
return Redirect($"{envelopeReceiverId}/ReadOnly");
ViewData["EnvelopeKey"] = envelopeReceiverId;