@@ -20,7 +20,7 @@ public partial class WebUntisClient
2020 /// <exception cref="UnauthorizedAccessException">Thrown when you're logged in</exception>
2121 /// <exception cref="HttpRequestException">Thrown when an error happened while the http request</exception>
2222 /// <exception cref="WebUntisException">Thrown when the WebUntis API returned an error</exception>
23- public async Task < Subject [ ] > GetAllSubjectsAsync ( string id = "getSubjects" , CancellationToken ct = default )
23+ public async Task < Subject [ ] > GetSubjectsAsync ( string id = "getSubjects" , CancellationToken ct = default )
2424 {
2525 List < Subject > subjects = await MakeRequestAsync < object , List < Subject > > ( id , "getSubjects" , new object ( ) , ct ) ;
2626 return subjects . ToArray ( ) ;
@@ -36,7 +36,7 @@ public async Task<Subject[]> GetAllSubjectsAsync(string id = "getSubjects", Canc
3636 /// <exception cref="UnauthorizedAccessException">Thrown when you're not logged in</exception>
3737 /// <exception cref="HttpRequestException">Thrown when an error happend while the hppt request</exception>
3838 /// <exception cref="WebUntisException">Thrown when the WebUntis API returned an error</exception>
39- public async Task < Class [ ] > GetAllClassesAsync ( string id = "getClasses" , CancellationToken ct = default )
39+ public async Task < Class [ ] > GetClassesAsync ( string id = "getClasses" , CancellationToken ct = default )
4040 {
4141 List < Class > classes = await MakeRequestAsync < object , List < Class > > ( id , "getKlassen" , new object ( ) , ct ) ;
4242 return classes . ToArray ( ) ;
@@ -69,7 +69,7 @@ public async Task<Class[]> GetClassesAsync(SchoolYear schoolYear, string id = "g
6969 /// <exception cref="UnauthorizedAccessException">Thrown when you're not logged in</exception>
7070 /// <exception cref="HttpRequestException">Thrown when an error happend while the http request</exception>
7171 /// <exception cref="WebUntisException">Thrown when the WebUntis API returned an error</exception>
72- public async Task < Room [ ] > GetAllRoomsAsync ( string id = "getRooms" , CancellationToken ct = default )
72+ public async Task < Room [ ] > GetRoomsAsync ( string id = "getRooms" , CancellationToken ct = default )
7373 {
7474 List < Room > rooms = await MakeRequestAsync < object , List < Room > > ( id , "getRooms" , new object ( ) , ct ) ;
7575 return rooms . ToArray ( ) ;
@@ -85,7 +85,7 @@ public async Task<Room[]> GetAllRoomsAsync(string id = "getRooms", CancellationT
8585 /// <exception cref="UnauthorizedAccessException">Thrown when you're not logged in</exception>
8686 /// <exception cref="HttpRequestException">Thrown when an error happend while the http request</exception>
8787 /// <exception cref="WebUntisException">Thrown when the WebUntis API returned an error</exception>
88- public async Task < Department [ ] > GetAllDepartmentsAsync ( string id = "getDepartments" , CancellationToken ct = default )
88+ public async Task < Department [ ] > GetDepartmentsAsync ( string id = "getDepartments" , CancellationToken ct = default )
8989 {
9090 List < Department > departments = await MakeRequestAsync < object , List < Department > > ( id , "getDepartments" , new object ( ) , ct ) ;
9191 return departments . ToArray ( ) ;
0 commit comments