private void SetupCustomerRepoModel() { customerRepoModel = new CustomerRepoModel { CustomerId = 2, CustomerAuthId = "fakeauthid2", GivenName = "Fake2", FamilyName = "Name2", AddressOne = "Address2 1", AddressTwo = "Address2 2", Town = "Town2", State = "State2", AreaCode = "Area Code2", Country = "Country2", EmailAddress = "[email protected]", TelephoneNumber = "07123456782", RequestedDeletion = false, CanPurchase = true, Active = true }; }
public async Task <bool> AnonymiseCustomer(CustomerRepoModel anonCustomer) { return(await EditCustomer(anonCustomer)); }