public bool ConnectToPaymentSystem(UserIdentifier userIdentifier) { VerifySystemIsInitialized(); _verifier.VerifyMe(MethodBase.GetCurrentMethod(), userIdentifier); bool res = _userDomain.GetAdminUser(userIdentifier).ConnectToPaymentSystem(); if (res) { _logger.LogCritical("The system connected to the payment system successfuly."); } else { _logger.LogCritical("The system failed to connect to the payment system."); } return(res); }