public void Dispose()
 {
     _currPiDetailRepository?.Dispose();
     _currencySaleRepository?.Dispose();
     _piRepository?.Dispose();
     _piDetailRepository?.Dispose();
 }
 public void Dispose()
 {
     _saleRepository?.Dispose();
     _salePiDetailRepository?.Dispose();
     _saleExDecRepository?.Dispose();
     _declarationRepository?.Dispose();
     _piDetailRepository?.Dispose();
     _brokerRepository?.Dispose();
     _customerRepository?.Dispose();
     _miscellaneousCustomerRepository?.Dispose();
     _commodityCustomerRepository?.Dispose();
     _financialPeriodRepository?.Dispose();
 }