Aug 08, 2018 03:18 AM|Nan Yu|LINK
Help, when I make an insert, a duplicate is registered, that is when I register a plate with name: Hamburger, Category: Menu, Price: 22, I get two records of that data
So same name should be consider as duplicate record ? According to the codes ,you are checking the duplicate with PlatoNombre :
f (!plato.Listado().Any(x => x.PlatoNombre == reg.PlatoNombre))
If name is another condition , you should also filter name as condition .