public static bool RemoveBrand(int BrandID) { bool deleted = false; try { using (LTS.LTSBase access = new LTS.LTSDC()) { access.DeleteBrand(BrandID); deleted = true; } } catch (Exception ex) { } return(deleted); }