Ejemplo n.º 1
0
        public void RandamizeNew()
        {
            RandomSelect(ReceivedPetitions, GeneralQuota);

            var masterPetitions = ReceivedPetitions.Where(s => s.IsMasterDegree).ToList();

            RandomSelect(masterPetitions, MasterQuota);

            ReceivedPetitions.Where(s => !s.IsMasterDegree).ToList().AddRange(masterPetitions);

            RejectedPetitions = ReceivedPetitions;
        }
Ejemplo n.º 2
0
 public void ApplyPetition(Petition petition)
 {
     ReceivedPetitions.Add(petition);
 }