//check to see if the repository has pending changes...
 private bool RepositoryIsDirty()
 {
     return(_serviceAgent.CompanyRepositoryIsDirty());
 }