Example #1
0
        public AspirantsDTO(UniversityLearnersDTO aspirant)
            : base(aspirant)
        {
            LabelsText.Add("Teacher");
            LabelsText.Add("DesertationTopic");
            LabelsText.Add("Scolarship");

            ReferenceInfo refInfo = new ReferenceInfo()
            {
                Major = Id,
                FieldNumber = 10,
                FilteredIds = new List<int>() { 8 }
            };

            ReferencedField.Add(refInfo);
        }
Example #2
0
        public AspirantsDTO(AspirantsDTO aspirant)
            : base(aspirant)
        {
            LabelsText.Add("Teacher");
            LabelsText.Add("DesertationTopic");
            LabelsText.Add("Scolarship");

            Teacher = aspirant.Teacher;
            DesertationTopic = aspirant.DesertationTopic;
            Scolarship = aspirant.Scolarship;

            ReferenceInfo refInfo = new ReferenceInfo()
            {
                Major = Id,
                FieldNumber = 10,
                FilteredIds = new List<int>() { 11 }
            };

            ReferencedField.Add(refInfo);
        }