diff --git a/SoftwareInstallation/SoftwareInstallationBusinessLogic/ShopLogic.cs b/SoftwareInstallation/SoftwareInstallationBusinessLogic/ShopLogic.cs index 52ff24f..23cd6cc 100644 --- a/SoftwareInstallation/SoftwareInstallationBusinessLogic/ShopLogic.cs +++ b/SoftwareInstallation/SoftwareInstallationBusinessLogic/ShopLogic.cs @@ -133,7 +133,7 @@ namespace SoftwareInstallationBusinessLogic _logger.LogInformation("AddPackageInShop. ShopName:{ShopName}.Id:{ Id}", model.Name, model.Id); var element = _shopStorage.GetElement(model); - int currCount = element.Packages.Values.First().Item2; + int currCount = element.Packages.Values.FirstOrDefault().Item2; if (element == null) { _logger.LogWarning("AddPackageInShop element not found"); diff --git a/SoftwareInstallation/SoftwareInstallationView/ReportOrders.rdlc b/SoftwareInstallation/SoftwareInstallationView/ReportOrders.rdlc index f79c8a5..996f31d 100644 --- a/SoftwareInstallation/SoftwareInstallationView/ReportOrders.rdlc +++ b/SoftwareInstallation/SoftwareInstallationView/ReportOrders.rdlc @@ -424,7 +424,6 @@ 2pt - true @@ -484,7 +483,7 @@ 2.48391cm 0.55245cm 1.2cm - 19.84713cm + 19.84714cm 2