This commit is contained in:
@@ -35,9 +35,9 @@ namespace rockfishCore.Controllers
|
||||
[Required]
|
||||
public bool LicenseExpires { get; set; }
|
||||
[Required]
|
||||
public long LicenseExpiration { get; set; }
|
||||
public long LicenseExpirationDate { get; set; }
|
||||
[Required]
|
||||
public long MaintenanceExpiration { get; set; }
|
||||
public long MaintenanceExpirationDate { get; set; }
|
||||
[Required]
|
||||
public List<dtoLicenseFeature> Features { get; set; }
|
||||
[Required]
|
||||
@@ -108,8 +108,8 @@ namespace rockfishCore.Controllers
|
||||
|
||||
newLicense.RegisteredTo = l.RegisteredTo;
|
||||
newLicense.DbId = l.DbId;
|
||||
newLicense.LicenseExpiration = DateUtil.EpochToDate(l.LicenseExpiration);
|
||||
newLicense.MaintenanceExpiration = DateUtil.EpochToDate(l.MaintenanceExpiration);
|
||||
newLicense.LicenseExpiration = DateUtil.EpochToDate(l.LicenseExpirationDate);
|
||||
newLicense.MaintenanceExpiration = DateUtil.EpochToDate(l.MaintenanceExpirationDate);
|
||||
foreach (dtoLicenseFeature f in l.Features)
|
||||
{
|
||||
newLicense.Features.Add(new RavenKeyFactory.LicenseFeature() { Feature = f.Feature, Count = f.Count });
|
||||
|
||||
Reference in New Issue
Block a user