コード例 #1
0
        public async Task <IActionResult> List([FromQuery] ListBusinessUnitFromQuery query)
        {
            var request = new ListBusinessUnitRequest(query);

            var result = await _apiResult.Produce(request);

            return(result);
        }
コード例 #2
0
 public ListBusinessUnitRequest(ListBusinessUnitFromQuery query)
 {
     _query = query ?? throw new ArgumentNullException(nameof(query));
 }