diff --git a/api/.DS_Store b/api/.DS_Store deleted file mode 100755 index 23523b3c..00000000 Binary files a/api/.DS_Store and /dev/null differ diff --git a/api/Controllers/mvcController.cs b/api/Controllers/mvcController.cs index d6da8505..f5ad3e1f 100755 --- a/api/Controllers/mvcController.cs +++ b/api/Controllers/mvcController.cs @@ -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] diff --git a/api/Data/EventLocsVisitedRepository.cs b/api/Data/EventLocsVisitedRepository.cs index 22ed5b6e..6bac086a 100755 --- a/api/Data/EventLocsVisitedRepository.cs +++ b/api/Data/EventLocsVisitedRepository.cs @@ -30,7 +30,7 @@ namespace api.Data List allPlaces = await _context.EventLocs.Where(a=>a.EventId== t.EventId ).ToListAsync(); - List allLocs = await _context.EventLocsVisited.Where(Team=>Team.Id== id).Include(e => e.Team).Include(e => e.Location).ToListAsync(); + List allLocs = await _context.EventLocsVisited.Where(T=>T.Team.Id== id).Include(e => e.Team).Include(e => e.Location).ToListAsync(); List rList = new List();