public bool IsSatisfiedBy(Instructor instructor) { return(instructorRepository.GetByEmail(instructor.Email) == null); }
public Instructor GetByEmail(string email) { return(instructorRepository.GetByEmail(email)); }