Example #1
0
 /// <summary>
 /// Gets a list of Submissions of an assignment by the student.
 /// </summary>
 /// <param name="sid"> Unique id of the student.</param>
 /// <param name="courseId">Unique id of the course.</param>
 /// <returns>List of Submissions.</returns>
 public static SubmissionList GetItem(string sid, string courseId)
 {
     return(SubmissionDA.GetItem(sid, courseId));
 }
Example #2
0
 /// <summary>
 /// Gets the submission list of the assignment.
 /// </summary>
 /// <param name="assignmentId">Id of the assignment.</param>
 /// <returns>List of submission of the assignment.</returns>
 public static SubmissionList GetItem(int assignmentId)
 {
     return(SubmissionDA.GetItem(assignmentId));
 }