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