Example #1
0
 public IActionResult Get(int id,
                          [FromServices] IGetPorudzbinaQuery query)
 {
     return(Ok(_excutor.ExecuteQuery(query, id)));
 }
 public IActionResult Get([FromQuery] PorudzbinaSearch search, [FromServices] IGetPorudzbinaQuery query)
 {
     return(Ok(executor.ExecuteRequest(query, search)));
 }