init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses.OsztalyCsoportbaSorolas
|
||||
{
|
||||
public class OsztalyTanuloiList : Dictionary<int, TanuloListItem>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
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,
|
||||
Vegzaradek = item.Value.Vegzaradek,
|
||||
JogviszonyCount = item.Value.JogviszonyCount,
|
||||
JogviszonyId = item.Value.JogviszonyId
|
||||
});
|
||||
}
|
||||
return Result;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue