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