mirror of https://github.com/Squidex/squidex.git
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
// ==========================================================================
|
|||
// EntityCreatedResult_T.cs
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex Group
|
|||
// All rights reserved.
|
|||
// ==========================================================================
|
|||
|
|||
namespace Squidex.Infrastructure.CQRS.Commands |
|||
{ |
|||
public sealed class EntityCreatedResult<T> : EntitySavedResult |
|||
{ |
|||
public T IdOrValue { get; } |
|||
|
|||
public EntityCreatedResult(T idOrValue, long version) |
|||
: base(version) |
|||
{ |
|||
IdOrValue = idOrValue; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue