...
Figure 3.4‑13 - Add to view
...
In your view model add the following property:
...
Add the code to retrieve notices of the user and load it to the view.
Code Block | ||
---|---|---|
| ||
List<int> serviceIds = List<int> serviceIds = new List<int>{ <user's service id>, 6 }; //6: MyTC Account //Get notices of the services var userNotices = await _noticeManager.GetByServiceId(serviceIds); |
Load it to view Modify the view to load the notices
Example:
...
1.1.1 Application user properties
...
All files are scanned for viruses using the OSWAT MetaDefender version 45.1.2. For more information see this document.
...