Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. internal void UpsertUserAction(new List<KeyValuePair<string, string>> parametersList)
  2. {
  3. SPUserActionInformation userActionInformation;
  4. for(KeyValuePair<string, string> parameter)
  5. {
  6. if(parameter.Key -- "UserId")
  7. {
  8. userActionInformation.UserId = parameter.Value;
  9. }
  10. if(parameter.Key == "Type")
  11. {
  12. userActionInformation.Type = parameter.Value;
  13. }
  14. if (parameter.Key == "Time")
  15. {
  16. userActionInformation.Time = parameter.Value;
  17. }
  18. }
  19. //How to call UpsertUserAction??
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement