hi. im coding with asp.net, i got a Customer and Customer got a
IList.. now when i add a new Customer and CustomerUser i do like this.
Code:
var customer = new Customer { Name = txtCustomerName.Text, OrgNumber =
txtOrgNumber.Text };
var customerUser = new CustomerUser { Email =
txtUserMail.Text, Password = password.Sha1() };
customer.CustomerUsers.Add(customerUser);
objectFactory.GetInstance<ICustomerService>().SaveOrUpdate(customer);
Now i want to update the customerUser but how should i do that?
what im after is that could i get the customer and through the customer i
update the customerUser and save the customer. how should i do that?