| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Result of <see cref="Input.DeletePersonCommand" /> (UC-09). Reports the person's |
| | | 7 | | /// <c>PublicId</c> and whether the request was the idempotent no-op of AF-09b. Internal Ids never |
| | | 8 | | /// leave the data layer. |
| | | 9 | | /// </summary> |
| | | 10 | | public class DeletePersonCommandOutput : CommandOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the deleted person.</summary> |
| | 23 | 13 | | public Guid Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// <c>true</c> when the person was already logically deleted and nothing was written |
| | | 17 | | /// (AF-09b); <c>false</c> when this request performed the deletion. |
| | | 18 | | /// </summary> |
| | 24 | 19 | | public bool AlreadyDeleted { get; set; } |
| | | 20 | | } |