Controller injection resolved

This commit is contained in:
Stoyan Zlatev
2023-05-11 13:01:56 +02:00
parent 9aabd5c2bf
commit e2c464a345
12 changed files with 42 additions and 41 deletions
@@ -29,11 +29,7 @@
{
this.Pallets = pallets.ToDictionary(x => x, x => x == this.PalletNr);
if (this.PalletNr == 0)
{
this.PalletNr = this.Pallets.Keys.Last();
}
else if (!this.Pallets.ContainsKey(this.PalletNr))
if (!this.Pallets.ContainsKey(this.PalletNr))
{
this.Pallets[this.PalletNr] = true;
}