Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal void UpsertUserAction(new List<KeyValuePair<string, string>> parametersList)
- {
- SPUserActionInformation userActionInformation;
- for(KeyValuePair<string, string> parameter)
- {
- if(parameter.Key -- "UserId")
- {
- userActionInformation.UserId = parameter.Value;
- }
- if(parameter.Key == "Type")
- {
- userActionInformation.Type = parameter.Value;
- }
- if (parameter.Key == "Time")
- {
- userActionInformation.Time = parameter.Value;
- }
- }
- //How to call UpsertUserAction??
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement