public static bool IsFriend(this Account account, Account ab, IDataService ds) { var s = new ConnectionIsFriendQuery(account, ab); return ds.Connection.ExecuteQuery(s).RowCount() > 0; }
public static bool IsFriend(this Account account, Account ab, IDataService ds) { var s = new ConnectionIsFriendQuery(account, ab); return(ds.Connection.ExecuteQuery(s).RowCount() > 0); }