Created
March 2, 2017 09:53
-
-
Save stpriyanka/354b63eaedd050a80d30d2f5d5d512e2 to your computer and use it in GitHub Desktop.
Create a customer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void CreateCustomer() | |
{ | |
var model = new CustomerStructure() | |
{ | |
CustomerNo = 2, | |
CustomerName = "Some name", | |
CustomerCompanyType = "individual", | |
CustomerOrganizationNo = "", | |
CustomerVatNo = "", | |
CustomerContact = new CustomerContact() | |
{ | |
CustomerContactName = "Customer Contact Name", | |
CustomerContactEmail = "any valid email", | |
CustomerContactPhone = "000000000", | |
} | |
}; | |
CustomerStructure result = _billogramUtility.CreateCustomer(model).Result; | |
// ..... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment