public School GetByIdWithSchoolClasses(Guid id)
 {
     return(_ctx
            .Schools
            .Include(x => x.SchoolClasses)
            .Where(SchoolQueries.GetByIdWithSchoolClasses(id))
            .FirstOrDefault(SchoolQueries.GetById(id)));
 }
 public School GetById(Guid id)
 {
     return(_ctx
            .Schools
            .FirstOrDefault(SchoolQueries.GetById(id)));
 }