fix teams locs visited

This commit is contained in:
José Valdiviesso 2019-04-11 18:54:39 +01:00
parent 2238f284d3
commit d4bb3b6ba9
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ namespace api.Data
for (int j = 0; j < allPlaces.Count; j++)
{
EventLocVisited novo=new EventLocVisited();
novo.Location= allPlaces[j];
@ -45,7 +46,7 @@ namespace api.Data
for (var i = 0; i < allLocs.Count; i++)
{
if(allPlaces[j].Id == allLocs[i].Id){
if(allPlaces[j].Id == allLocs[i].Location.Id){
novo.complete=true;
}
}