Kooboo.Commerce.Customers.CustomerService.CanUseEmail C# (CSharp) Méthode

CanUseEmail() private méthode

private CanUseEmail ( Customer customer, string email ) : bool
customer Customer
email string
Résultat bool
        private bool CanUseEmail(Customer customer, string email)
        {
            return !_customerRepository.Query().Any(c => c.Id != customer.Id && c.Email == email);
        }