|
@@ -220,8 +220,7 @@ namespace TEAMModelOS.Controllers.Research
|
|
|
List<Task<ItemResponse<ClassVideo>>> teacherTrains = new List<Task<ItemResponse<ClassVideo>>>();
|
|
|
List<Task> tasks = new List<Task>();
|
|
|
trains.ForEach(x => {
|
|
|
- x.files.Select(y => y.score = score);
|
|
|
-
|
|
|
+ x.files.ForEach(y => { y.score = score; });
|
|
|
teacherTrains.Add(client.GetContainer(Constant.TEAMModelOS, "Teacher").ReplaceItemAsync(x, x.id, new PartitionKey(x.code)));
|
|
|
tasks.Add(StatisticsService.SendServiceBus($"{standard}", $"{x.id}", $"{school}", StatisticsService.TeacherClass, 1, _configuration, _serviceBus));
|
|
|
});
|