public PaymentsService(IPersistenceContext persistenceContext, CustomerService customerService) { this.persistenceContext = persistenceContext; customerRepository = this.persistenceContext.CustomerRepository; this.customerService = customerService; }