private async Task <bool> TourDetailsExists(int id) { var tourDetails = await _repository.GetTourDetails(id); if (tourDetails != null) { return(true); } else { return(false); } }