commit
03d69448ed
Binary file not shown.
|
@ -44,6 +44,14 @@ namespace api.Controllers
|
|||
return View("Views/Landing/cp-net.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet("/cp-md")]
|
||||
[AllowAnonymous]
|
||||
|
||||
public IActionResult cpMd()
|
||||
{
|
||||
return View("Views/Landing/cp-md.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet("/cp-iot")]
|
||||
[AllowAnonymous]
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue