// TODO log
 public Option <InstallationDomain> TrySave(InstallationDomain domain)
 {
     if (!_installationDao.ExistsByExternalId(domain.ExternalId))
     {
         InstallationEntity entity = _installationDao.Save(InstallationEntity.FromDomain(domain));
         return(Option <InstallationDomain> .Of(entity.ToDomain()));
     }
     return(Option <InstallationDomain> .Empty <InstallationDomain>());
 }
        // TODO log
        public InstallationDomain Save(InstallationDomain installation)
        {
            InstallationEntity entity = _installationDao.Save(InstallationEntity.FromDomain(installation));

            return(entity.ToDomain());
        }