k
This commit is contained in:
parent
d67130ca15
commit
fdf212256c
@ -88,6 +88,8 @@ model)
|
|||||||
|
|
||||||
public OrderViewModel AccessIceCreamStorage(OrderViewModel model)
|
public OrderViewModel AccessIceCreamStorage(OrderViewModel model)
|
||||||
{
|
{
|
||||||
|
if (model == null)
|
||||||
|
return null;
|
||||||
foreach (var iceCream in source.IceCreams)
|
foreach (var iceCream in source.IceCreams)
|
||||||
{
|
{
|
||||||
if (iceCream.Id == model.IceCreamId)
|
if (iceCream.Id == model.IceCreamId)
|
||||||
|
Loading…
Reference in New Issue
Block a user