private List <Account> ListAccountSendFriendRequest(string email) { lock (this) { var db = new FriendRequestNotExceptDAOSQL(); return(db.GetRequest(email)); } }
private int DeleteRecord(FriendResquestNotExcept request) { lock (synlock) { var db = new FriendRequestNotExceptDAOSQL(); return(db.DeleteByMe(request)); } }
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)); } }
private List <Account> ListUserRequestAddFriendOfReceiveUser(string email) { lock (synlock2) { var db = new FriendRequestNotExceptDAOSQL(); return(db.GetRequest(email)); } }
private int Delete(FriendResquestNotExcept request) { lock (this) { var db = new FriendRequestNotExceptDAOSQL(); return(db.DeleteByMe(request)); } }