Exemple #1
0
        private string GetValidEncodedEmail(string query)
        {
            var helper = new Helpers.RegexUtilities();
            var email  = helper.GetValidEmailId(query);

            return(HttpUtility.UrlEncode(email));
        }
Exemple #2
0
        private bool IsValidUser(string query)
        {
            var helper = new Helpers.RegexUtilities();

            if (helper.IsValidEmail(query))
            {
                return(true);
            }
            return(false);
        }