public Int64 Update(sizeMaster objcategory) { Int64 result = 0; try { Cls_size_db objCls_size_db = new Cls_size_db(); result = Convert.ToInt64(objCls_size_db.Update(objcategory)); return(result); } catch (Exception ex) { ErrHandler.writeError(ex.Message, ex.StackTrace); return(result); } }
public sizeMaster SelectById(Int64 cid) { sizeMaster objcategory = new sizeMaster(); try { Cls_size_db objCls_size_db = new Cls_size_db(); objcategory = objCls_size_db.SelectById(cid); return(objcategory); } catch (Exception ex) { ErrHandler.writeError(ex.Message, ex.StackTrace); return(objcategory); } }