Beispiel #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         moviesRepository.Dispose();
         actorsRepository.Dispose();
         producersRepository.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     MoviesRepository.Dispose();
 }