init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue