示例#1
0
        public async Task <IActionResult> Get()
        {
            var result = await _cabelListService.GetCableListAsync(new CableListCriterion());

            return(Ok(result));
        }
示例#2
0
        public async Task <IActionResult> Get([FromQuery] CableListCriterion criterion)
        {
            var result = await _cabelListService.GetCableListAsync(criterion);

            return(Ok(result));
        }