public ActionResult SaveCustomerPhone(ulong customerNumber, CustomerPhone phone) { var result = new ActionResult(); this.Use(client => { result = client.SaveCustomerPhoneAsync(customerNumber, phone).Result; } ); return(result); }
public ActionResult SaveCustomerEmail(ulong customerNumber, CustomerEmail email) { var result = new ActionResult(); this.Use(client => { result = client.SaveCustomerEmailAsync(customerNumber, email).Result; } ); return(result); }