/// <summary> /// Returns the index of the given customer the first being zero. /// </summary> /// <param name="customer"></param> /// <returns></returns> public int GetIndexOf(int customer) { if (customer == 0) { return(0); } int idx = _route.GetIndexOf(customer); if (idx < 0) { return(idx); } return(idx + 1); }