Esempio n. 1
0
 public TableOutput GetProducts(TableInput input)
 {
     return(_productTableBuilder
            .ColumnRequested(input.ColumnsRequested)
            .FilterBy(input.Filters)
            .PageNumber(input.PageNumber)
            .PageSize(input.PageSize)
            .IsSortAscending(input.SortDirectionAsc)
            .SortBy(input.SortBy)
            .Build());
 }