Changed GetLectures to return lectures.ToList() instead of AsEnumerable()