public IActionResult Get([FromQuery] ProizvodSearch search, [FromServices] IGetProizvodQuery query)
 {
     return(Ok(executor.ExecuteRequest(query, search)));
 }
Exemple #2
0
 public IActionResult Get(int id,
                          [FromServices] IGetProizvodQuery query)
 {
     return(Ok(excutor.ExecuteQuery(query, id)));
 }