Compare commits
2 Commits
02d95d40f4
...
d528524f2c
Author | SHA1 | Date | |
---|---|---|---|
d528524f2c | |||
586c0905ed |
@ -100,7 +100,7 @@ namespace SushiBarBusinessLogic.BusinessLogics
|
|||||||
}
|
}
|
||||||
if (!_shopLogic.AddSushi(sushi, viewModel.Count))
|
if (!_shopLogic.AddSushi(sushi, viewModel.Count))
|
||||||
{
|
{
|
||||||
throw new Exception($"AddSushis operation failed. Shop is full.");
|
throw new Exception($"AddSushi operation failed. Shop is full.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user