private static object MergeWithFriend(object profile, object friend) { ProfileCardData profileCardData = ProfileCardData.Create(profile, friend); if (friend != null) { profileCardData.IsFriend = true; } return(profileCardData); }
public static object MergeProfile(object item1, object item2) => ProfileCardData.Create(item1, item2);