Hi,

I'm trying to sync user (customer) data between web sites and having a hard time making nopcommerce behave. Whenever I click the "Edit" button in the customer area of the admin panel the an actionfilter will request the user data from another site via webservice. I then (try) to update the data the following way:


var list = myWebServiceGetData();

var pl = list.FirstOrDefault();
var a = c.Addresses.FirstOrDefault();

a.Address1 = pl.street;
a.City = pl.City ?? a.City;
...
                
_customerService.UpdateCustomer(c);


The database shows the correct data and the address is seemingly mapped to the correct address id. The problem is that the actual data shown in the form is the old data. Even after I completely restart the whole site the data won't update. Where does the form even take the old data? I mean there are still remnant entries from before the update in the database but the id mapping in CustomerAddress to Address is correct. I suppose it has something to do with caching but I don't yet know where to look or how to update the cache?

Is there a method to clear the old address data from the database?