private List <Account> ListRequestOfUser(string email)
 {
     lock (synlock1)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetRequest(email));
     }
 }
Пример #2
0
 private List <Account> ListAccountSendFriendRequest(string email)
 {
     lock (this)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetRequest(email));
     }
 }
Пример #3
0
 private List <Account> ListUserRequestAddFriendOfReceiveUser(string email)
 {
     lock (synlock2)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetRequest(email));
     }
 }