Browse Source

fix team visited api

zmiguel
José Valdiviesso 3 years ago
parent
commit
6e40d6e622
  1. BIN
      api/.DS_Store
  2. 2
      api/Data/EventLocsVisitedRepository.cs

BIN
api/.DS_Store

Binary file not shown.

2
api/Data/EventLocsVisitedRepository.cs

@ -30,7 +30,7 @@ namespace api.Data
List<EventLoc> allPlaces = await _context.EventLocs.Where(a=>a.EventId== t.EventId ).ToListAsync();
List<EventLocVisited> allLocs = await _context.EventLocsVisited.Where(Team=>Team.Id== id).Include(e => e.Team).Include(e => e.Location).ToListAsync();
List<EventLocVisited> allLocs = await _context.EventLocsVisited.Where(T=>T.Team.Id== id).Include(e => e.Team).Include(e => e.Location).ToListAsync();
List<EventLocVisited> rList = new List<EventLocVisited>();

Loading…
Cancel
Save