Exemple #1
0
        public async Task <IActionResult> List([FromQuery] ListStorageStatusFromQuery query)
        {
            var request = new ListStorageStatusRequest(query);

            var result = await _apiResult.Produce(request);

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