Beispiel #1
0
        public Int64 Update(userregistration objuserregistration)
        {
            Int64 result = 0;

            try
            {
                Cls_userregistration_db objCls_userregistration_db = new Cls_userregistration_db();

                result = Convert.ToInt64(objCls_userregistration_db.Update(objuserregistration));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
Beispiel #2
0
        public userregistration SelectById(Int64 uid)
        {
            userregistration objuserregistration = new userregistration();

            try
            {
                Cls_userregistration_db objCls_userregistration_db = new Cls_userregistration_db();

                objuserregistration = objCls_userregistration_db.SelectById(uid);
                return(objuserregistration);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objuserregistration);
            }
        }