fix teams locs visited
This commit is contained in:
parent
2238f284d3
commit
d4bb3b6ba9
|
@ -37,6 +37,7 @@ namespace api.Data
|
||||||
for (int j = 0; j < allPlaces.Count; j++)
|
for (int j = 0; j < allPlaces.Count; j++)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
EventLocVisited novo=new EventLocVisited();
|
EventLocVisited novo=new EventLocVisited();
|
||||||
|
|
||||||
novo.Location= allPlaces[j];
|
novo.Location= allPlaces[j];
|
||||||
|
@ -45,7 +46,7 @@ namespace api.Data
|
||||||
|
|
||||||
for (var i = 0; i < allLocs.Count; i++)
|
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;
|
novo.complete=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue