예제 #1
0
        public Int64 Update(employeeMaster objemployeeMaster)
        {
            Int64 result = 0;

            try
            {
                Cls_Employee_db objCls_Employee_db = new Cls_Employee_db();

                result = Convert.ToInt64(objCls_Employee_db.Update(objemployeeMaster));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
예제 #2
0
        public employeeMaster  SelectById(Int64 id)
        {
            employeeMaster objemployeeMaster = new employeeMaster();

            try
            {
                Cls_Employee_db objCls_Employee_db = new Cls_Employee_db();

                objemployeeMaster = objCls_Employee_db.SelectById(id);
                return(objemployeeMaster);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objemployeeMaster);
            }
        }