Example #1
0
 public static int FinishTest(bool timeIsUp = false)
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.FinishTest(NavigationHelper.TestSessionId, timeIsUp));
     }
 }
Example #2
0
 public static StudentTestResult GetStudentTestResult(int attemptId)
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.GetStudentTestResult(attemptId));
     }
 }
Example #3
0
 public static bool SubmitQuestionAnswers(int questionId, int[] anwersIds)
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.SubmitQuestionAnswers(NavigationHelper.TestSessionId, questionId, anwersIds));
     }
 }
Example #4
0
 public static Question[] GetQuestion4Atempt()
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.GetQuestion4Atempt(NavigationHelper.CurrentTestId, NavigationHelper.TestSessionId));
     }
 }
Example #5
0
 public static Guid StartTest(int studentId)
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.StartTest(NavigationHelper.CurrentTestId, studentId));
     }
 }
Example #6
0
 public static TestInstance GetCurrentTest()
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.GetCurrentTest());
     }
 }
Example #7
0
 public static int RigisterStudent(Student newStudent)
 {
     using (var service = new TestSystemServiceClient())
     {
         return(service.RigisterStudent(newStudent));
     }
 }