Ejemplo n.º 1
0
 public TourCategory(TourCategoryType id, string description)
 {
     Id          = id;
     Description = description;
 }
Ejemplo n.º 2
0
 private IEnumerable <InterestPoint> GetPointsByCategory(TourCategoryType category) =>
 CityScoverRepository.Points.Where(point => point.Category.Id == category ||
                                   point.Category.Id == TourCategoryType.None);