Example #1
0
        public static DataTable TextSearch(string textSearch)
        {
            DTypeCaseFile obj = new DTypeCaseFile();

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

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

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

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