Пример #1
0
 private bool HaveUniqueAddress(EmailAccountDetails cmd, string name)
 {
     return(_emailAccountRules.IsEmailAccountAddressUnique(cmd.SiteId, name));
 }
Пример #2
0
        public IActionResult IsEmailAccountAddressUnique(string email)
        {
            var isEmailAccountAddressUnique = _emailAccountRules.IsEmailAccountAddressUnique(SiteId, email);

            return(Ok(isEmailAccountAddressUnique));
        }