private IAccount CredentialsChecker(string emailAddress)
        {
            ContractorAccount contractor;
            EmailValidator    EmailValidator = new EmailValidator();

            if (EmailValidator.IsValidEmail(emailAddress) == true)
            {
                contractor = ContractorAccountRepository.FindContractorAccount(emailAddress);
                return(contractor);
            }
            else
            {
                contractor = null;
                return(contractor);
            }
        }
 public void TestDeleteContractor()
 {
     Repository.DeleteContractorAccount(ExampleEmailAddress);
     Assert.Null(Repository.FindContractorAccount(ExampleEmailAddress));
 }