27 lines
998 B
C#
27 lines
998 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses.OsztalyCsoportbaSorolas
|
|
{
|
|
public class AmiBesorolhatoTanulokList : 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,
|
|
BesorolasDatum = item.Value.BesorolasDatum,
|
|
KisorolasDatum = item.Value.KisorolasDatum,
|
|
Aktiv = item.Value.Aktiv,
|
|
SzulDatum = item.Value.SzuletesiDatum,
|
|
Neme = item.Value.Neme
|
|
});
|
|
}
|
|
return Result;
|
|
}
|
|
}
|
|
}
|