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); } }
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); } }