public void FyllLB() { ICollection <Alumn> A = BusinessManager.GetAllAlumn(); foreach (Alumn a in A) { Alumner.Add(a); } }
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)); //} }