/// <summary> /// Get Customer By CustomerId /// </summary> /// <param name="userId">userId</param> /// <param name="customerId">customerId</param> /// <returns>Customer</returns> public wsPerson GetCustomerById(int userId, int customerId) { try { return(_virtualDinerwareClient.GetCustomer(userId, customerId)); } catch (Exception ex) { _logger.WriteLogError(ex, "VirtualDinerwareClient GetCustomerById"); } return(null); }
/// <summary> /// Get Customer By CustomerId /// </summary> /// <param name="userId">userId</param> /// <param name="customerId">customerId</param> /// <returns>Customer</returns> public wsPerson GetCustomerById(int userId, int customerId) { try { return(virtualDinerwareClient.GetCustomer(userId, customerId)); } catch (Exception ex) { logger.WriteLogError("**** Dinerware VirtualClient FAILURE: GetCustomerById Exception Error= " + ex.Message); if (ex.InnerException != null) { logger.WriteLogError("**** InnerException = " + ex.InnerException.Message); } throw ex; } }
/// <summary> /// Get Customer By CustomerId /// </summary> /// <param name="userId">userId</param> /// <param name="customerId">customerId</param> /// <returns>Customer</returns> public wsPerson GetCustomerById(int userId, int customerId) { return(_virtualDinerwareClient.GetCustomer(userId, customerId)); }