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