public IActionResult Get(int id,
                          [FromServices] IGetKategorijaQuery query)
 {
     return(Ok(excutor.ExecuteQuery(query, id)));
 }
 public IActionResult Get([FromQuery] KategorijaSearch search, [FromServices] IGetKategorijaQuery query)
 {
     return(Ok(executor.ExecuteRequest(query, search)));
 }