public void TimeOut(string a_strUserName) { try { users_Prop userprop = new users_Prop(); userprop.UserName = a_strUserName; users_bal userbal = new users_bal(); userbal.LogOut(userprop); } catch (Exception ex) { throw ex; } }
private string Logout(string username) { users_Prop userprop = new users_Prop(); userprop.UserName = username; users_bal userbal = new users_bal(); string strmsg = userbal.LogOut(userprop); if (userbal.ErrMessage != "" && userbal.ErrMessage != null) { return(userbal.ErrMessage); } else { return(strmsg); } }