예제 #1
0
        public static bool UpdateBrand(LTS.Brand brand)
        {
            bool completed = false;

            try
            {
                using (LTS.LTSBase access = new LTS.LTSDC())
                {
                    access.UpdateBrand(brand.BrandDescription, brand.BrandName, brand.BrandID);
                    completed = true;
                }
            }
            catch (Exception ex)
            {
                completed = false;
            }
            return(completed);
        }