init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Kreta.Ellenorzo.Domain.VN.Interfaces;
|
||||
using Kreta.Ellenorzo.Domain.VN.Logic;
|
||||
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.HaziFeladat
|
||||
{
|
||||
public class HaziFeladatGetRequest : IRequestUidFilter<HaziFeladatUid>
|
||||
{
|
||||
public HaziFeladatGetRequest(string uidRaw = null)
|
||||
{
|
||||
Uid = UidLogic.GetUid(uidRaw, UidConverter);
|
||||
}
|
||||
|
||||
public HaziFeladatUid Uid { get; set; }
|
||||
|
||||
public bool IsCallerGetOnlyOneItem { get; set; } = true;
|
||||
|
||||
public static readonly Converter<string[], HaziFeladatUid> UidConverter = uidRaw => new HaziFeladatUid(uidRaw[0]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user