|
@@ -1103,7 +1103,7 @@ namespace TEAMModelOS.Controllers
|
|
|
List<object> courses = new List<object>();
|
|
|
List<(string id, string name, string scope)> teacherCourse = new();
|
|
|
List<(string id, string name, string scope)> tcCourse = new();
|
|
|
- List<(string name, string scope,List<(string id, string name, string type)> stuName)> ps = new();
|
|
|
+ List<(string id, string name,string scope,List<(string id, string name, string type)> stuName)> ps = new();
|
|
|
var query = $"select c.id,c.name,c.scope from c";
|
|
|
|
|
|
await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryStreamIterator(queryText: query, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Course-{code.GetString()}") }))
|