Commit 78fbe902 by Javier Piris

Solucinado error fixed de enviado de ids de ingredientes a la web del super

parent a8b87fb2
...@@ -105,7 +105,7 @@ namespace inutralia.API ...@@ -105,7 +105,7 @@ namespace inutralia.API
List<int> idList = GetIdList (item.GetType ()); List<int> idList = GetIdList (item.GetType ());
// ... buscamos el máximo y le sumamos 1 // ... buscamos el máximo y le sumamos 1
item.Id = (idList.Count < 1) ? 1 : idList.Max () + 1; //item.Id = (idList.Count < 1) ? 1 : idList.Max () + 1;
// ... añadimos el nuevo id a la lista // ... añadimos el nuevo id a la lista
idList.Add (item.Id); idList.Add (item.Id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment