public bool Delete(Int64 cid) { try { Cls_brand_db objCls_company_db = new Cls_brand_db(); if (objCls_company_db.Delete(cid)) { return(true); } return(false); } catch (Exception ex) { throw new Exception(ex.Message); } }
public bool Delete(Int64 cid) { bool result = false; try { Cls_brand_db objCls_brand_db = new Cls_brand_db(); if (objCls_brand_db.Delete(cid)) { result = true; } else { result = false; } } catch (Exception ex) { result = false; ErrHandler.writeError(ex.Message, ex.StackTrace); } return(result); }