NuGet-Pakete installiert und Projektverweise hinzugefügt. CRUD Repository, Service und Controller für die EmailOut-Tabelle mit WebCore konfiguriert. DIExtensions zur Dependency Injection erstellt. Resource.*.resx für zukünftige Entwicklungen mit Cookie-basiertem String Localizer konfiguriert.

This commit is contained in:
Developer 02
2024-05-17 12:56:37 +02:00
parent 0f709856db
commit 77a4359bb2
20 changed files with 475 additions and 27 deletions

View File

@@ -0,0 +1,23 @@
namespace DigitalData.EmailProfilerDispatcher.Application.DTOs.EmailOut
{
public record EmailOutCreateDto(
int ReminderTypeId,
int SendingProfile,
int ReferenceId,
string? ReferenceString,
int? EntityId,
int WfId,
string? WfReference,
string EmailAddress,
string EmailSubj,
string EmailBody,
string? EmailAttmt1,
DateTime? EmailSent,
string? Comment,
string? AddedWho, // Default value will be 'DEFAULT', made nullable
string? ChangedWho,
DateTime? ChangedWhen,
DateTime? ErrorTimestamp,
string? ErrorMsg
);
}

View File

@@ -1,25 +1,25 @@
namespace DigitalData.EmailProfilerDispatcher.Application.DTOs
namespace DigitalData.EmailProfilerDispatcher.Application.DTOs.EmailOut
{
public record EmailOutDto(
int Guid,
int Id,
int ReminderTypeId,
int SendingProfile,
int ReferenceId,
string ReferenceString,
string? ReferenceString,
int? EntityId,
int WfId,
string WfReference,
string? WfReference,
string EmailAddress,
string EmailSubj,
string EmailBody,
string EmailAttmt1,
string? EmailAttmt1,
DateTime? EmailSent,
string Comment,
string? Comment,
string AddedWho,
DateTime? AddedWhen,
string ChangedWho,
string? ChangedWho,
DateTime? ChangedWhen,
DateTime? ErrorTimestamp,
string ErrorMsg
string? ErrorMsg
);
}