Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected IDictionary<int, int> GetNotesStatistics(List<string> userName)
- {
- MyNotesManager myNotesManager = new MyNotesManager();
- myNotesManager.ReadMyNotesFromCache = false;
- List<MyNotesItem> notes = myNotesManager.GetAllMyNotes();
- notes = notes.where( // hämta bara de anteckningar som har användare i listan userName
- // typ ngt sånt här: notes = notes.Where(p => p.UserId in userName);
- return notes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement