fix
This commit is contained in:
parent
4326593e9c
commit
438f3f24af
@ -1,9 +0,0 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -201,7 +201,7 @@
|
||||
this.groupBoxSoftware.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
this.Load += new System.EventHandler(this.FormPackage_Load);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -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