Exemplo n.º 1
0
        public Task <IRestResponse> DeleteRequest(string id)
        {
            RequestHandler request = new RequestHandler();

            DB_Singleton db    = DB_Singleton.Instance;
            string       token = db.Retrieve("Token");

            return(request.DeletePost(token, db.GetActiveGroup().GroupID, id));
        }
Exemplo n.º 2
0
        public Task <IRestResponse> UpdateRequest()
        {
            RequestHandler request    = new RequestHandler();
            DB_Singleton   db         = DB_Singleton.Instance;
            string         user_token = db.Retrieve("Token");
            string         groupid    = db.GetActiveGroup().GroupID;

            return(request.GetMessages(user_token, groupid));
        }
Exemplo n.º 3
0
        public Task <IRestResponse> UpdateRequest()
        {
            List <ItemObj> groupLists = new List <ItemObj>();
            RequestHandler request    = new RequestHandler();
            DB_Singleton   db         = DB_Singleton.Instance;
            string         token      = db.Retrieve("Token");
            string         groupid    = db.GetActiveGroup().GroupID;

            return(request.GetListItems(token, groupid, topicId));
        }