public AddressChange(int IDToChange) { InitializeComponent(); IDUsed = IDToChange; ctx.Update(ctx.Addresses.Where(c => c.CustomerId == IDUsed).FirstOrDefault()); }