Beispiel #1
0
        public bool InterestAction(int fromUserID, int toUserID, InterestActionType actionType)
        {
            if (fromUserID == toUserID)
                return false;

            this.userResource.InterestAction(fromUserID, toUserID, actionType);
            return true;
        }
Beispiel #2
0
 public void InterestAction(int fromUserID, int toUserID, InterestActionType actionType)
 {
     if (actionType == InterestActionType.Revert)
     {
         this.RevertInterestFromUserID = fromUserID;
         this.RevertInterestToUserID = toUserID;
     }
     else if (actionType == InterestActionType.Hangup)
     {
         this.HangupFromUserID = fromUserID;
         this.HangupToUserID = toUserID;
     }
     else if (actionType == InterestActionType.Link)
     {
         this.ShowInterestFromUserID = fromUserID;
         this.ShowInterestToUserID = toUserID;
     }
 }
Beispiel #3
0
 public void InterestAction(int fromUserID, int toUserID, InterestActionType actionType)
 {
     throw new NotImplementedException();
 }