Exemple #1
0
 internal static void PutCustomerContact(Guid id, Guid subId, Contact entity) =>
 Execute($"customers/{id}/contact/{subId}", Method.PUT, EpokMapper.Map <ContactModel>(entity));
Exemple #2
0
 internal static void PutCustomerAddress(Guid id, Address entity) =>
 Execute($"customers/{id}/address", Method.PUT, EpokMapper.Map <ChangeCustomerAddressModel>(entity));
Exemple #3
0
 internal static Guid PostCustomerContact(Guid id, Contact entity) =>
 Execute($"customers/{id}/contact", EpokMapper.Map <ContactModel>(entity));
Exemple #4
0
 internal static Guid Post(Customer entity) =>
 Execute("customers", EpokMapper.Map <RegisterCustomerModel>(entity));