TimestampedSetRepository rename private ApplyPropsFilter to ReduceSetColumnsByNames;

Fix TimestampedSetController doc and response type;
ITimestampedSetClient Add doc.
This commit is contained in:
ngfrolov 2024-11-26 11:24:31 +05:00
parent 2169e592e6
commit a07dbae5b8
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -107,7 +107,7 @@ public class TimestampedSetRepository : ITimestampedSetRepository
return query.Where(entity => entity.Timestamp >= geTimestampUtc); return query.Where(entity => entity.Timestamp >= geTimestampUtc);
} }
private static IEnumerable<TimestampedSetDto> ApplyPropsFilter(IEnumerable<TimestampedSetDto> query, IEnumerable<string> props) private static IEnumerable<TimestampedSetDto> ReduceSetColumnsByNames(IEnumerable<TimestampedSetDto> query, IEnumerable<string> columnNames)
{ {
var newQuery = query var newQuery = query
.Select(entity => new TimestampedSetDto( .Select(entity => new TimestampedSetDto(