package monumenttheft;


import java.sql.SQLException;

import main.MysqlHelper;
import spark.Request;
import spark.Response;
import spark.Route;
import spark.Spark.*;


public class MonumentTheft {
	//Jesse & Jessin
	
	MysqlHelper mysql;
    public MonumentTheft(){
    	try {
			mysql = new MysqlHelper();
		} catch (SQLException e) {
			e.printStackTrace();
		}
    }
    
    public String getSomething(Request req, Response res){
    	return mysql.exampleQuery().toString();
    }
    
    public String getMomuments(Request req, Response res){
    	return mysql.query("SELECT * FROM monuments;").toString();
    }
    
    public String getBikeTheft(Request req, Response res){
    	return mysql.query("SELECT * FROM bikebike_theft;").toString();
    }
    
    
	    
}
