revert fix
This commit is contained in:
devil_1nc 2023-05-22 22:34:00 +04:00
parent 0b4e42e39d
commit 0fcb443bef
4 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -13,5 +13,6 @@ 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; }
}
}

View File

@ -201,7 +201,7 @@
this.groupBoxSoftware.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
this.Load += new System.EventHandler(this.FormPackage_Load);
}
#endregion

View File

@ -189,7 +189,6 @@ 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);