This commit is contained in:
SpecialX
2025-07-01 19:05:07 +08:00
parent a21ca80782
commit 017cc2169c
33 changed files with 3778 additions and 109 deletions

View File

@@ -23,16 +23,36 @@ namespace TechHelper.Server.Services
Task<ApiResponse> CreateExamAsync(AssignmentDto examDto);
/// <summary>
/// 提交一份试卷
/// </summary>
/// <param name="submissionDto">提交试卷的完整信息</param>
/// <returns></returns>
Task<ApiResponse> SubmissionAssignment(SubmissionDto submissionDto);
/// <summary>
/// 为所有学生指定试卷
/// </summary>
/// <param name="id"> 试卷ID </param>
/// <returns></returns>
Task<ApiResponse> AssignmentToAllStudentsAsync(Guid assignmentId, Guid TeacherId);
Task<ApiResponse> AssignmentToAllStudentsAsync(Guid id);
Task<ApiResponse> AssignmentToStudentsAsync(Guid assignementId, Guid studentId);
/// <summary>
/// 为指定学生指派一个试卷
/// </summary>
/// <param name="assignementId"></param>
/// <param name="studentId"></param>
/// <returns></returns>
Task<ApiResponse> AssignmentToStudentsAsync(AssigExamToStudentsDto examToStudentsDto);
/// <summary>
/// 获取学生所有提交过的试卷
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<ApiResponse> GetAllSubmissionAsync(Guid id);
}
}