/// <summary>
 /// Sends the status of a student submission out to a teacher or student.
 /// </summary>
 /// <param name="group"></param>
 private void SendStatusHelper(Group group)
 {
     Message message;
     using (Synchronizer.Lock(submission_status_model_.SyncRoot)) {
         if (submission_status_model_.SubmissionStatus == SubmissionStatusModel.Status.Received) {
             return;
         }
     }
     message = new SubmissionStatusMessage(submission_status_model_);
     message.Group = group;
     sender_.Send(message);
 }
        /// <summary>
        /// Sends the status of a student submission out to a teacher or student.
        /// </summary>
        /// <param name="group"></param>
        private void SendStatusHelper(Group group)
        {
            Message message;

            using (Synchronizer.Lock(submission_status_model_.SyncRoot)) {
                if (submission_status_model_.SubmissionStatus == SubmissionStatusModel.Status.Received)
                {
                    return;
                }
            }
            message       = new SubmissionStatusMessage(submission_status_model_);
            message.Group = group;
            sender_.Send(message);
        }