Пример #1
0
        public static bool UpdateCategory(LTS.Category category)
        {
            bool completed = false;

            try
            {
                using (LTS.LTSBase access = new LTS.LTSDC())
                {
                    access.UpdateCategory(category.CategoryDescription, category.CategoryName, category.CategoryID);
                    completed = true;
                }
            }
            catch (Exception ex)
            {
                completed = false;
            }
            return(completed);
        }