From fcf00171deda3a3e43b201559936c048e28136b3 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 21 Aug 2025 16:39:16 +0200 Subject: [PATCH] move CreateEnvelopeResponse to CreateEnvelopeCommand file --- .../Envelopes/Commands/CreateEnvelopeCommand.cs | 8 +++++++- .../Envelopes/Commands/CreateEnvelopeResponse.cs | 8 -------- 2 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeResponse.cs diff --git a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs index bf267203..d03c2936 100644 --- a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs +++ b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs @@ -1,4 +1,5 @@ -using MediatR; +using EnvelopeGenerator.Application.Envelopes.Queries.Read; +using MediatR; using Microsoft.AspNetCore.Mvc.ModelBinding; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; @@ -24,3 +25,8 @@ public record CreateEnvelopeCommand( [BindNever] public int? UserId { get; set; } }; + +/// +/// +/// +public record CreateEnvelopeResponse : ReadEnvelopeResponse; \ No newline at end of file diff --git a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeResponse.cs b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeResponse.cs deleted file mode 100644 index 1a040c59..00000000 --- a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeResponse.cs +++ /dev/null @@ -1,8 +0,0 @@ -using EnvelopeGenerator.Application.Envelopes.Queries.Read; - -namespace EnvelopeGenerator.Application.Envelopes.Commands; - -/// -/// -/// -public record CreateEnvelopeResponse : ReadEnvelopeResponse; \ No newline at end of file