private void DoActionsOnPatchAccount(Customer customer)
        {
            if (customer == null)
            {
                return;
            }
            var accounts = GetAccountsByDuplicateSourceSystemId(customer.CustomerIdentifier.CustomerId);

            if (accounts == null)
            {
                return;
            }
            if (accounts == null ||
                (accounts != null && accounts.Entities.Count <= 0))
            {
                payloadCustomer.Response = new XrmUpdateResponse()
                {
                    Existing = false,
                    Updated  = false,
                    Id       = null
                };
                return;
            }
            var account = AccountPatchHelper.GetAccountEntityForCustomerPayload(customer, trace);

            UpdateAccounts(accounts, account);
        }