public static CustomerPayment ApplyInvoicePayment(CustomerPayment pago, ICustomerPaymentRepository paymentRepository) { return(paymentRepository.ApplyInvoicePayment(pago)); }