move CreateEnvelopeResponse to CreateEnvelopeCommand file

This commit is contained in:
tekh 2025-08-21 16:39:16 +02:00
parent ca28c4cca4
commit fcf00171de
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,5 @@
using MediatR; using EnvelopeGenerator.Application.Envelopes.Queries.Read;
using MediatR;
using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
@ -24,3 +25,8 @@ public record CreateEnvelopeCommand(
[BindNever] [BindNever]
public int? UserId { get; set; } public int? UserId { get; set; }
}; };
/// <summary>
///
/// </summary>
public record CreateEnvelopeResponse : ReadEnvelopeResponse;

View File

@ -1,8 +0,0 @@
using EnvelopeGenerator.Application.Envelopes.Queries.Read;
namespace EnvelopeGenerator.Application.Envelopes.Commands;
/// <summary>
///
/// </summary>
public record CreateEnvelopeResponse : ReadEnvelopeResponse;