mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2025-12-06 05:32:03 +01:00
Merge pull request #16 from dotnet/jongalloway-patch-1
This commit is contained in:
commit
4418efee1f
|
|
@ -191,7 +191,7 @@ First you need some data. To store and manage data, you'll use an in-memory stor
|
||||||
|
|
||||||
public static void RemovePizza(int id)
|
public static void RemovePizza(int id)
|
||||||
{
|
{
|
||||||
_pizzas = _pizzas.FindAll(pizza => pizza.Id == id).ToList();
|
_pizzas = _pizzas.FindAll(pizza => pizza.Id != id).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -252,4 +252,4 @@ We're excited to support you on your learning journey! Check out the [.NET Commu
|
||||||
|
|
||||||
# How'd it go?
|
# How'd it go?
|
||||||
|
|
||||||
Please take this quick, [10 question survey](https://aka.ms/WebLearningSeries-git-survey) to give us your thoughts on this lesson & challenge!
|
Please take this quick, [10 question survey](https://aka.ms/WebLearningSeries-git-survey) to give us your thoughts on this lesson & challenge!
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue