fix
This commit is contained in:
parent
aba6593945
commit
f38d94afa8
@ -133,7 +133,7 @@ namespace SoftwareInstallationBusinessLogic
|
|||||||
_logger.LogInformation("AddPackageInShop. ShopName:{ShopName}.Id:{ Id}",
|
_logger.LogInformation("AddPackageInShop. ShopName:{ShopName}.Id:{ Id}",
|
||||||
model.Name, model.Id);
|
model.Name, model.Id);
|
||||||
var element = _shopStorage.GetElement(model);
|
var element = _shopStorage.GetElement(model);
|
||||||
int currCount = element.Packages.Values.FirstOrDefault().Item2;
|
int currCount = element.Packages.Values.First().Item2;
|
||||||
if (element == null)
|
if (element == null)
|
||||||
{
|
{
|
||||||
_logger.LogWarning("AddPackageInShop element not found");
|
_logger.LogWarning("AddPackageInShop element not found");
|
||||||
|
Loading…
Reference in New Issue
Block a user