/// <summary> /// Ask user to input customer ID. If customer with this ID exists method /// returns customer location /// </summary> /// <returns></returns> public void CustomerIdToLocation(ref int customerId, ref string location) { customerId = CheckIfCustomerExist(); while (customerId < 1) { customerId = CheckIfCustomerExist(); } location = customerController.FindCustomerLocationById(customerId); }