/// <summary>
 /// The is empty classroom.
 /// </summary>
 /// <param name="classroom">
 /// The classroom.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 public static bool IsEmptyClassroom(this Classroom classroom)
 {
     return(isEmpty(classroom));
 }
Esempio n. 2
0
 /// <summary>
 /// The is empty classroom.
 /// </summary>
 /// <param name="classroom">
 /// The classroom.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 public static bool isEmptyClassroom(this Classroom classroom)
 {
     return(classroom.StudentsId == null || !classroom.StudentsId.Any());
 }