public SiteLicensingDataResponse GetSiteLicenseData(SiteLicenseDetailsEntity entity) { return new SiteLicensingDataResponse() { Response = new List<SiteLicensingData>() { } }; }
public void GetSiteLicenseList() { IEnumerable<SiteLicenseDetailsEntity> licenseDetailsResults = SiteLicensingDataAccess.GetSiteLicenseDetailsResult().Select(X => new SiteLicenseDetailsEntity { StartDate = X.StartDate, ExpireDate = Convert.ToDateTime(SiteLicensingCryptoHelper.Decrypt(X.ExpireDate, "B411y51T")), RuleID = X.RuleID, AlertBeforeDays = X.AlertBeforeDays, KeyStatusID = X.KeyStatusID, LicenseKey = X.LicenseKey, ValidationRequired = X.ValidationRequired, LockSite = X.LockSite, DisableGames = X.DisableGames, WarningOnly = X.WarningOnly, AlertRequired = X.AlertRequired, CreatedDateTime = X.CreatedDateTime, ActivatedDateTime = X.ActivatedDateTime, UpdatedDateTime = X.UpdatedDateTime }); _ActiveLicense = null; _ExpiredLicense = null; _CancelledLicense = null; _NextActiveLicense = null; _SiteLicenseList = licenseDetailsResults.ToList(); }