Example #1
0
        public int Update(User objUser)
        {
            User_DL objUserDL = new User_DL(Connection);

            try
            {
                return(objUserDL.Update(objUser));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }
        }
Example #2
0
        public int Clear_Password(User objUser)
        {
            objUser.UserPassword = Encrypt(objUser.UserName, true);
            User_DL objUserDL = new User_DL(Connection);

            try
            {
                return(objUserDL.Update(objUser));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }
        }