Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         invoiceRepository.Dispose();
         productRepository.Dispose();
         invoicedetailRepository.Dispose();
     }
     base.Dispose(disposing);
 }