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