public static bool Admin_GestureAdd(string gesture_name, string thumbnail_url, string gesture_message, string isactive) { GestureTable gstobj = new GestureTable(); if (gstobj.Add(gesture_name, thumbnail_url, gesture_message, isactive)) { return(true); } return(false); }
public static List <List <string> > RandomGestureShow() { GestureTable gtobj = new GestureTable(); List <List <string> > err = new List <List <string> >(); err.Add(new List <string>()); List <string> gsres = gtobj.GenerateRandomGesture(); if (gtobj.error != "") { err[0].Add(""); err[0].Add(gtobj.error); return(err); } err[0].Add(gsres[0]); err[0].Add(gsres[1]); return(err); }
public static bool Admin_GestureUpdate(string id, String isactive) { GestureTable gt = new GestureTable(); return(gt.Update(id, isactive)); }
public static gesture_management Admin_GestureEdit(string id) { GestureTable gt = new GestureTable(); return(gt.Edit(id)); }
//Gesture management public static List <gesture_management> Admin_GestureShow() { GestureTable gstobj = new GestureTable(); return(gstobj.List()); }