Exemplo n.º 1
0
 /// <summary>
 /// Construct the viewmodel
 /// </summary>
 /// <param name="license">License entity to show</param>
 public LicenseDetailsViewModel(Model.License license)
     : this()
 {
     License = new LicenseDetailsViewItem(license, license.PurchasingCustomer, license.OwningCustomer, license.Sku);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Construct the viewmodel
 /// </summary>
 /// <param name="license">License entity to show</param>
 public LicenseDetailsViewModel(Model.License license)
     : this()
 {
     License = new LicenseDetailsViewItem(license, license.PurchasingCustomer, license.OwningCustomer, license.Sku);
 }