move CreateEnvelopeResponse to CreateEnvelopeCommand file
This commit is contained in:
parent
ca28c4cca4
commit
fcf00171de
@ -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;
|
||||||
@ -1,8 +0,0 @@
|
|||||||
using EnvelopeGenerator.Application.Envelopes.Queries.Read;
|
|
||||||
|
|
||||||
namespace EnvelopeGenerator.Application.Envelopes.Commands;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
public record CreateEnvelopeResponse : ReadEnvelopeResponse;
|
|
||||||
Loading…
x
Reference in New Issue
Block a user