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