Exemple #1
0
        internal static List <FriendMark> GetMarkList(LessonObject lessonObject)
        {
            var student = new Student();

            student.Id       = lessonObject.StudentId;
            student.Password = lessonObject.Password;

            var lesson = new Lesson();

            lesson.Hash = lessonObject.Hash;

            return(lesson.GetMarkList(student));
        }
Exemple #2
0
        public static RequestObject GetMarkList(string studentId, string password, string lessonHash)
        {
            var requestObject = new RequestObject();

            requestObject.Type = RequestType.GetMarkList;

            var lessonObject = new LessonObject();

            lessonObject.StudentId = studentId;
            lessonObject.Password  = password;
            lessonObject.Hash      = lessonHash;

            requestObject.Lesson = lessonObject;
            return(requestObject);
        }