517b38791b
Add revision-protected reads, atomic upsert and deletion with structured actions. Preserve omitted translations and fix insertion of new push languages. Ref: IT-1627
12 lines
394 B
C#
12 lines
394 B
C#
using HrynCo.NotificationService.DAL.Abstract.Templates;
|
|
|
|
namespace HrynCo.NotificationService.Web.Controllers.Api.Services;
|
|
|
|
public sealed class PushTemplateTranslationRequest
|
|
{
|
|
public required string LanguageCode { get; init; }
|
|
public required string Title { get; init; }
|
|
public required string Body { get; init; }
|
|
public PushTemplateActions Actions { get; init; } = new();
|
|
}
|