Exemple #1
0
        public int GetCountForEIARequireSnapshots()
        {
            var snapshottedLicenseIds    = _licenseRepository.GetAllEIALicenseIdsThatHAVESnapshot();
            var licenseIds               = _licenseRepository.GetAllEIALicenseIds();
            var licenseThatNeedASnapshot = licenseIds.Except(snapshottedLicenseIds).ToList();

            return(licenseThatNeedASnapshot.Count);
        }