Пример #1
0
        public void FyllLB()
        {
            ICollection <Alumn> A = BusinessManager.GetAllAlumn();

            foreach (Alumn a in A)
            {
                Alumner.Add(a);
            }
        }
Пример #2
0
        public void UppdateLB()
        {
            ICollection <Alumn> stuff = BusinessManager.HämtaTillgängligaAlumner(Lista);

            foreach (Alumn a in stuff)
            {
                Alumner.Add(a);
            }

            //return BusinessManager.GetAlumnForList(id);

            //foreach (Alumn a in Lista.Mottagare)
            //{
            //    Alumner.Add(BusinessManager.GetAlumn(a.AnvändarId));
            //}
        }