Beispiel #1
0
 public async Task <IActionResult> GetClassRooms(int id)
 {
     return(Json(await manager.GetEnumerableQuery <Class>(@"SELECT * FROM Class WHERE SchoolId = @SchoolID ", new { SchoolID = id })));
 }