Пример #1
0
 public void RemoveUserFromFriends(TwoUsers users)
 {
     RemoteProcedureCallClass
     .GetUserChannel()
     .RemoveUserFromFriends(users.ToJson());
 }
Пример #2
0
        public void RemoveUserFromFriends(string users)
        {
            TwoUsers twoUsers = users.FromJson <TwoUsers>();

            m_UserDBHelper.RemoveUserFromFriends(twoUsers.FirstId, twoUsers.SecondId);
        }
Пример #3
0
 public void AddUserToFriends(TwoUsers users)
 {
     RemoteProcedureCallClass
     .GetUserChannel()
     .AddUserToFriends(users.ToJson());
 }
Пример #4
0
        //USER
        public void AddUserToFriends(string users)
        {
            TwoUsers twoUsers = users.FromJson <TwoUsers>();

            m_UserDBHelper.AddUserToFriends(twoUsers.FirstId, twoUsers.SecondId);
        }