Ejemplo n.º 1
0
        internal static string GetCustomerEmail()
        {
            var customerEmailAddress = UserInputGathering.GetStringInput("Enter Customer Email");

            if (!UserInputValidation.IsValidEmailAddress(customerEmailAddress))
            {
                throw new InvalidOperationException(" ");
            }

            return(customerEmailAddress);
        }