public decimal GetNextGuestId() { if (ServiceCallConfig == ServiceCallConfigType.AllServiceCallsOff) { return(0); } List <decimal> ids = waiterClient.GetNextGuestIDs(1, UserIdDecimal); if (ids.Count > 0) { return(ids[0]); } return(0); }
public decimal GetNextGuestId() { if (ServiceCallConfig == ServiceCallConfigType.AllServiceCallsOff) { return(0); } List <decimal> ids = waiterClient.GetNextGuestIDs(1, UserIdDecimal); if (ids.Count > 0) { return(ids[0]); } return(0); }