Example #1
0
 private List <Account> ListAccountSendFriendRequest(string email)
 {
     lock (this)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetRequest(email));
     }
 }
Example #2
0
 private int DeleteRecord(FriendResquestNotExcept request)
 {
     lock (synlock)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.DeleteByMe(request));
     }
 }
Example #3
0
 private List <Account> ListRequest(string email)
 {
     lock (synlock2)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetMyRequest(email));
     }
 }
 private int Insert(FriendResquestNotExcept request)
 {
     lock (synlock)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.Insert(request));
     }
 }
Example #5
0
 private List <Account> ListUserRequestAddFriendOfReceiveUser(string email)
 {
     lock (synlock2)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.GetRequest(email));
     }
 }
Example #6
0
 private int Delete(FriendResquestNotExcept request)
 {
     lock (this)
     {
         var db = new FriendRequestNotExceptDAOSQL();
         return(db.DeleteByMe(request));
     }
 }