temp
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user