Exemplo n.º 1
0
        public IActionResult Get(int valueId, [FromQuery] PageOptions queryOptions)
        {
            int total;
            var values = _fileLogic.GetAll(valueId, queryOptions, out total);
            var result = queryOptions.ToPagedResult(values, total, "Get", "Files");

            return(Ok(result));
        }