Exemple #1
0
 public static IQueryable <TagEntity> FilterTagsBy(this IQueryable <TagEntity> query, TagSearchCriteria criteria)
 => query
 .FilterBy(
Exemple #2
0
 public static IQueryable <TagEntity> FilterBy(this IQueryable <TagEntity> query, TagSearchCriteria criteria)
 => query
 .FilterBy(
     x => x.GuildId == criteria.GuildId.Value,
     !(criteria.GuildId is null))