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