Пример #1
0
 public int GetAmountOfRows()
 {
     return(Seats.GroupBy(t => t.Row).Count());
 }
Пример #2
0
 public int GetAmountOfChairs()
 {
     return(Seats.GroupBy(t => t.Chair).Count());
 }