...
await NoticeManager.GetByUserId(int serviceIduserId, bool toBeDisplayedOnly = true);
Returns
Task<ICollection<Notice>>
...
Parameters
Path
id: The user id
Query string (optional)
onlyApplicableNotices: true by default. true: all notices of the user that reached display start date time
Returns
200 OK - List of notices
...
Code Block | ||
---|---|---|
| ||
const int userId = 123;
var notices = await _noticeManager.GetByUserId(userId, true); |