public void createParis(HttpServletRequest request, String userId) {
		String sched_id = request.getParameter(FIELD_SHED_ID);
		String paris_type = request.getParameter(FIELD_PARIS_TYPE);
		String paris_vict = request.getParameter(FIELD_PARIS_VICT);
		String paris_scor_eqp = request.getParameter(FIELD_PARIS_SCORE_EQP);
		String paris_scor_teamhome = getFieldValue(request, FIELD_PARIS_SCORE_TEAM_HOME);
		String paris_scor_teamaway = getFieldValue(request, FIELD_PARIS_SCORE_TEAM_AWAY);
		String paris_bet = request.getParameter(FIELD_PARIS_BET);
		try {
			checkExistingSchedule(sched_id);
			int paris_bet_int = checkInteger(paris_bet);
			checkUserCanParis(userId, sched_id,paris_bet_int);
			if (paris_type.equals("vict")) {
				Teams team = Teams.ALL;
				if (paris_vict.equals("teamhome")) team = Teams.HOME;
				if (paris_vict.equals("teamaway")) team = Teams.AWAY;
				ParisVictoryModel parisVictoryModel = new ParisVictoryModel(userId, sched_id, paris_bet_int, team);
				DataStore.storeNewParis(parisVictoryModel);
				setResult("Paris sur la victoire effectué.");
			}
			else if (paris_type.equals("scor")) {
				Teams team = Teams.ALL;
				if (paris_scor_eqp.equals("home")) team = Teams.HOME;
				if (paris_scor_eqp.equals("away")) team = Teams.AWAY;
				try {
					int paris_scor_teamhome_int = checkInteger(paris_scor_teamhome);
					int paris_scor_teamaway_int = checkInteger(paris_scor_teamaway);
					ParisScoreModel parisScoreModel = new ParisScoreModel(userId, sched_id, paris_bet_int, team);
					parisScoreModel.setScore_team_home(paris_scor_teamhome_int);
					parisScoreModel.setScore_team_away(paris_scor_teamaway_int);
					DataStore.storeNewParis(parisScoreModel);
					setResult("Paris sur les scores effectué.");
				} catch (NumberFormatException e) {} // Integer.parseInt
			}  
			else {
				throw new Exception("Type de paris non permis.");
			}
		} catch(Exception e) {
        	setError("general",e.getMessage());
        	setResult(e.getMessage());
        }
    }