public async Task <IActionResult> List([FromQuery] ListStorageStatusFromQuery query) { var request = new ListStorageStatusRequest(query); var result = await _apiResult.Produce(request); return(result); }
public ListStorageStatusRequest(ListStorageStatusFromQuery query) { _query = query ?? throw new ArgumentNullException(nameof(query)); }