Esempio n. 1
0
 public UserInClass(int userId, int classId, int classVersion, DateTime startTime, DateTime endTime, bool isStarted,
                    bool isFinished, int classPosition, AppClass appClass, Section [] section, string user_feeling,
                    string user_feeling_finish, bool beforeClass, DateTime shouldStart, UserInHomeWork userInHomeWork,
                    bool isNextLesson = false, int nextLessonInReact = -20)
 {
     UserId              = userId;
     ClassId             = classId;
     ClassVersion        = classVersion;
     StartTime           = startTime;
     EndTime             = endTime;
     IsStarted           = isStarted;
     IsFinished          = isFinished;
     ClassPosition       = classPosition;
     NextLessonInReact   = nextLessonInReact;
     AppClass            = appClass;
     Section             = section;
     User_Feeling        = user_feeling;
     User_Feeling_Finish = user_feeling_finish;
     BeforeClass         = beforeClass;
     ShouldStart         = shouldStart;
     UserInHomeWork      = userInHomeWork;
     IsNextLesson        = isNextLesson;
 }
Esempio n. 2
0
        public int UpdateUserStartHomeWork(UserInHomeWork userInHomeWork)
        {
            DBservices db = new DBservices();

            return(db.UpdateUserStartHomeWork(userInHomeWork, "ConnectionStringPerson"));
        }
Esempio n. 3
0
        public int UpdateHomeWorkFinishedReact(UserInHomeWork userInHomeWork)
        {
            DBservices db = new DBservices();

            return(db.UpdateHomeWorkFinishedReact(userInHomeWork, "ConnectionStringPerson"));
        }