User1622294484 posted
Hey guys ,
I used to use this line of code , in order to remove a line a database
ctx.chap.Remove(ctx.chap.First(p => p.titre == btn.CommandArgument));
ctx.SaveChanges();
But this one , removes only one line
What I want is to remove all lines where p.titre==btn.CommandArgument
Any idea how can I change this code to make it work ?
Thanks