public IActionResult Get( [FromQuery] LogSearch search, [FromServices] IGetLogQuery query) { return(Ok(new Response <LogDto> { Actor = _actor, Executor = _executor.ExecuteQuery(query, search) })); }
public IActionResult Get([FromQuery] LogSearch search, [FromServices] IGetLogQuery query) { return(Ok(executor.ExecuteQuery(query, search))); }