예제 #1
0
        public static DataTable TextSearch(string textSearch)
        {
            DtypeCustumer obj = new DtypeCustumer();

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

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

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

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