示例#1
0
        internal static int GetMobileNumber()
        {
            var mobileNumber = UserInputGathering.GetIntergerInput("Please enter the Customer Mobile Number");

            if (UserInputValidation.IsValidMobileNumber(mobileNumber) == false)
            {
                throw new InvalidOperationException("Mobile Number not valid ");
            }

            return(mobileNumber);
        }