public void RemoveUserFromFriends(TwoUsers users) { RemoteProcedureCallClass .GetUserChannel() .RemoveUserFromFriends(users.ToJson()); }
public void RemoveUserFromFriends(string users) { TwoUsers twoUsers = users.FromJson <TwoUsers>(); m_UserDBHelper.RemoveUserFromFriends(twoUsers.FirstId, twoUsers.SecondId); }
public void AddUserToFriends(TwoUsers users) { RemoteProcedureCallClass .GetUserChannel() .AddUserToFriends(users.ToJson()); }
//USER public void AddUserToFriends(string users) { TwoUsers twoUsers = users.FromJson <TwoUsers>(); m_UserDBHelper.AddUserToFriends(twoUsers.FirstId, twoUsers.SecondId); }