Пример #1
0
        public IActionResult UserStatisticsGroupBy([FromBody] GroupBy property)
        {
            //TODO: make more generic
            var groupByPredicate = property.GroupByToPredicate <Klant, string>(property);
            var groupByresult    = this._context.Klanten.GroupBy(groupByPredicate).ToArray();

            return(Ok(groupByresult));
        }