Esempio n. 1
0
 public IActionResult Get([FromQuery] SearchRoleDTO search, [FromServices] IGetRoleQuery query)
 {
     return(Ok(_executor.ExecuteQuery(query, search)));
 }
 public IActionResult Get(int id, [FromServices] IGetRoleQuery query)
 {
     return(Ok(_executor.ExecuteQuery(query, id)));
 }