private List <Account> ListFriends(string email) { lock (syncLock) { IAccountDAO db = new AccountDAOSQL(); return(db.GetFriendList(email)); } }
private List <Account> NewListFriend(string email) { lock (synlock3) { var db = new AccountDAOSQL(); return(db.GetFriendList(email)); } }