Фолс
This commit is contained in:
parent
2e7b0aacaa
commit
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