Exemplo n.º 1
0
        private string GetValidEncodedEmail(string query)
        {
            var helper = new Helpers.RegexUtilities();
            var email  = helper.GetValidEmailId(query);

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

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