27 lines
685 B
C#
27 lines
685 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace gehGassiApp.Domain.Common
|
|
{
|
|
/// <summary>
|
|
/// Ergebnis des Anlegens eines Datensatzes
|
|
/// </summary>
|
|
/// <typeparam name="T">Typ der Liste</typeparam>
|
|
public class CreateResponse<T> where T : class
|
|
{
|
|
/// <summary>
|
|
/// Angelegtes Objekt oder existierendes, wenn Status Exists.
|
|
/// Null wenn Status Error
|
|
/// </summary>
|
|
public T Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// Status der Anlegen-Operation
|
|
/// </summary>
|
|
public CreateStatus Status { get; set; }
|
|
}
|
|
}
|