public async Task <IActionResult> List([FromQuery] ListDamageCodeFromQuery query)
        {
            var request = new ListDamageCodeRequest(query);

            var result = await _apiResult.Produce(request);

            return(result);
        }
Exemple #2
0
 public ListDamageCodeRequest(ListDamageCodeFromQuery query)
 {
     _query = query ?? throw new ArgumentNullException(nameof(query));
 }