init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses.OsztalyCsoportbaSorolas
|
||||
{
|
||||
public class KiiratkoztatottTanulokList : Dictionary<int, TanuloListItem>
|
||||
{
|
||||
public List<OsztalybaSorolasDDLItem> ConvertToDDLItemList()
|
||||
{
|
||||
List<OsztalybaSorolasDDLItem> Result = new List<OsztalybaSorolasDDLItem>();
|
||||
foreach (var item in this)
|
||||
{
|
||||
Result.Add(new OsztalybaSorolasDDLItem()
|
||||
{
|
||||
Value = item.Key.ToString(),
|
||||
Text = item.Value.Nev,
|
||||
NevElotagNelkul = item.Value.NevElotagNelkul,
|
||||
KisorolasDatum = item.Value.KisorolasDatum,
|
||||
Aktiv = item.Value.Aktiv,
|
||||
SzulDatum = item.Value.SzuletesiDatum
|
||||
});
|
||||
}
|
||||
return Result;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue