Returns promise object that is resolved with the IRole wrapped by IResult.
Example
const roleId: number = 1;
(async () => {
const {data, res} = await userRoleService.detail(roleId);
})();
Returns promise object that is resolved with the IRole wrapped by IResultList.
Example
const filter: object = {
severity: Severity.MAJOR,
pageSize: 100,
withTotalPages: true
};
(async () => {
const {data, res, paging} = await userRoleService.list(filter);
})();
Generated using TypeDoc