var results = _courseService.QueryCourses() .Include(x => x.Language) .Include(x => x.Versions.Where(u=>u.Overwrite==null).Select(y => y.Language)) .Include(x => x.Categories.Select(y => y.Category)) .Include(x => x.CourseProvider) .Where(x => !x.IsDeleted && x.CourseProvider.Organisation.OrganisationID == CurrentUser.ActingAs.Value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)