Code Tour 1 / Step 40 - Insert Code selection points are wrong
jongalloway opened this issue · comments
When I insert the code on Step 40, it overwrites the using statements rather than the data operation. I think it's supposed to replace this:
var veggieSpecial = context.Products
.Where(p => p.Name == "Veggie Special Pizza")
.FirstOrDefault();
if (veggieSpecial is Product)
{
context.Remove(veggieSpecial);
}
I think these are the values that need to be updated: