//[Route("[action]")] public async Task <IActionResult> GetLandmarks() { var landmarks = await _landmarkRepository.GetLandmarks(); return(Ok(landmarks)); // status 200 and landmarks as json }
//[Route("[action]")] public async Task <IActionResult> GetLandmarks() { var landmarks = await _landmarkRepository.GetLandmarks(); return(Ok(landmarks)); // status 200 and landmarks as json }