@Override
	public JSONObject main(Map<String, String> params, Session session)
			throws Exception {
		JSONObject rtn = new JSONObject();
		User activeUser = User.findById(session.getActiveUserId());
		if(!activeUser.isAdmin) {
			rtn.put("rtnCode", this.getRtnCode(405));
			return rtn;
		}
		long venueId = Long.parseLong(params.get("id"));
		Venue venue = Venue.findById(venueId);
		
		if(venue == null) {
			rtn.put("rtnCode", this.getRtnCode(406));
			return rtn;
		}
		
		if(venue.isRemoving()) {
			rtn.put("rtnCode", this.getRtnCode(407));
			return rtn;
		}
		
		venue.initiateRemoval();
		rtn.put("rtnCode", this.getRtnCode(200));
		return rtn;
	}