Example #1
0
 public bool Update(Lessons lesson)
 {
     //int result = DataProvider.Instance.ExecuteNonQuery("sp_updateUsers",user.ID, user.Fullname, user.IDDepartment,-1);
     return(true);
 }
Example #2
0
        public bool Add(Lessons lesson)
        {
            int result = DataProvider.Instance.ExecuteNonQuery("sp_addLessons", lesson.ID, lesson.Name, lesson.Video, lesson.PdfFile, lesson.PPTFile, lesson.WordFile, lesson.IDSubject, lesson.Description);

            return(result > 0);
        }