@@ -294,4 +296,34 @@ public class UserRestViewV2 {
}
}
// This add role to user. And add user to event if needed. Sorry but I dont have method to get list of roles XDDD
@PUT
@Operation(description="Add role to eventuser")
@Path("/{userid}/addrole")
publicResponseaddUserRole(PrintedCardUpdateCodePojocodepojo,@PathParam("userid")@Parameter(description="Event user id")IntegeruserId,@QueryParam("roleId")IntegerroleId){