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)); }
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)); }
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)); }