Kooboo.Commerce.Customers.CustomerService.CanUseEmail C# (CSharp) Метод

CanUseEmail() приватный Метод

private CanUseEmail ( Customer customer, string email ) : bool
customer Customer
email string
Результат bool
        private bool CanUseEmail(Customer customer, string email)
        {
            return !_customerRepository.Query().Any(c => c.Id != customer.Id && c.Email == email);
        }