Cast number parameters in PagedRestfulController