/// <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); }