Exemple #1
0
        public bool AddTeacherSchedule(string username, string index)
        {
            int result = DataProvider.GetInstance().ExcuteNonQuery(" exec USP_AddTeacher @username , @index  ", new object[] { username, index });

            return(result > 0);
        }
Exemple #2
0
        public bool AddUserSchedule(string groupId)
        {
            int result = DataProvider.GetInstance().ExcuteNonQuery("exec  USP_AddUserSchedule @idgroup ", new object[] { groupId });

            return(result > 0);
        }