Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
         _teacherRepository.Dispose();
     }
     base.Dispose(disposing);
 }
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
         _categoryRepository.Dispose();
     }
     base.Dispose(disposing);
 }
Example #4
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
         _categoryRepository.Dispose();
         _coursesRepository.Dispose();
         _selectedCategoryRepository.Dispose();
         _subCoursesRepository.Dispose();
     }
     base.Dispose(disposing);
 }
Example #5
0
 public void Dispose()
 {
     _db.Dispose();
 }