public ActionResult <IEnumerable <UserResponseDTO> > Get([FromQuery] UserSearch query)
        {
            var result = _getUsers.Execute(query);

            return(Ok(result));
        }
Example #2
0
 public ActionResult Get([FromQuery] UserSearch query)
 => Ok(_getUsersCommand.Execute(query));