public void WorkOnTenant_Handler() { // Work on a specific tenant // Input the first name and the last name of the tenant to work on string firstName = null; string lastName = null; if (!terminalDevice.GetTenantName(ref firstName, ref lastName)) { return; } if (TenantData.FindTenant(firstName, lastName, ref currentTenant)) { terminalDevice.ShowTenantMenuDialog(); } }
public void DisplayBarList_Handler() { // call "void DisplayList(object[] list)" to list Bar Numbers TenantData.FindTenant(currentTenant.firstName, currentTenant.lastName, ref currentTenant); terminalDevice.DisplayList(currentTenant.barredList.toObjectArray(currentTenant.barredList.barredNumbers)); }