/// <summary> /// Add bLoyal customer to dinerware system /// </summary> /// <param name="userId">UserId</param> /// <param name="customer">Customer Details</param> /// <returns>Customer ID</returns> public int AddCustomer(int userId, wsPerson customer) { try { return(virtualDinerwareClient.AddCustomer(userId, customer)); } catch (Exception ex) { logger.WriteLogError("**** Dinerware VirtualClient FAILURE: AddCustomer Exception Error= " + ex.Message); if (ex.InnerException != null) { logger.WriteLogError("**** InnerException = " + ex.InnerException.Message); } throw ex; } }
/// <summary> /// Add the bLoyal customer to dinerware system /// </summary> /// <param name="userId">UserId</param> /// <param name="customer">Customer Details</param> /// <returns>Customer ID</returns> public int AddCustomer(int userId, wsPerson customer) { return(virtualDinerwareClient.AddCustomer(userId, customer)); }