Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        public static bool Admin_GestureUpdate(string id, String isactive)
        {
            GestureTable gt = new GestureTable();

            return(gt.Update(id, isactive));
        }
Exemplo n.º 4
0
        public static gesture_management Admin_GestureEdit(string id)
        {
            GestureTable gt = new GestureTable();

            return(gt.Edit(id));
        }
Exemplo n.º 5
0
        //Gesture management

        public static List <gesture_management> Admin_GestureShow()
        {
            GestureTable gstobj = new GestureTable();

            return(gstobj.List());
        }