コード例 #1
0
 public static FilterSpecification <Tour> StartCity(ICity_Id startCity)
 => startCity != null ? new FilterSpecification <Tour>(tour => tour.StartCity?.Id == startCity.Id) : All;
コード例 #2
0
 public static FilterSpecification <Tour> City(ICity_Id city)
 => city != null ? new FilterSpecification <Tour>(tour => tour.Hotel?.City?.Id == city.Id) : All;