예제 #1
0
 public void Dispose()
 {
     if (_paymentRepository != null)
     {
         _paymentRepository.Dispose();
     }
 }
예제 #2
0
 public void Dispose()
 {
     Logger.Debug("UserService Disposed");
     UserRepository?.Dispose();
     RegistrationRepository?.Dispose();
     BookingRepository?.Dispose();
     PaymentMethodRepository?.Dispose();
 }