final fix
This commit is contained in:
parent
4326593e9c
commit
37e3caa343
@ -13,6 +13,5 @@ namespace AbstractSoftwareInstallationContracts.BindingModels
|
||||
public string PackageName { get; set; } = string.Empty;
|
||||
public double Price { get; set; }
|
||||
public Dictionary<int, (ISoftwareModel, int)> PackageSoftware{get;set;} = new();
|
||||
public object PackageSoftwares { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -189,6 +189,7 @@ namespace SoftwareInstallationView
|
||||
Id = _id ?? 0,
|
||||
PackageName = textBoxName.Text,
|
||||
Price = Convert.ToDouble(textBoxPrice.Text),
|
||||
PackageSoftware = _packageSoftwares
|
||||
};
|
||||
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user