Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add the code to retrieve notices of the user and load it to the view.

Code Block
languagec#
 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

...