Esempio n. 1
0
        public static DataTable TextSearch(string textSearch)
        {
            DtypeCustumer obj = new DtypeCustumer();

            obj.TextSearch = textSearch;
            return(obj.SearchName(obj));
        }
Esempio n. 2
0
        public static string Delete(int id)
        {
            DtypeCustumer obj = new DtypeCustumer();

            obj.Id = id;
            return(obj.Delete(obj));
        }
Esempio n. 3
0
        public static string Insert(string name)
        {
            DtypeCustumer obj = new DtypeCustumer();

            obj.Name = name;
            return(obj.Insert(obj));
        }
Esempio n. 4
0
        public static string update(int id, string name)
        {
            DtypeCustumer obj = new DtypeCustumer();

            obj.Id   = id;
            obj.Name = name;
            return(obj.Update(obj));
        }