async function returnAllEvents() {
    console.info("Retrieving all users");
    return await Event.findAll({
    }).then((events) => {
        return events;
    }).catch((err) => {
        console.log(err);
        return err;
    })
}
/*
* This method communicates with the database and will
* retrieve all the events in the database.
* @author Ruben Fricke
*/
This method communicates with the database and will
retrieve all the events in the database.
This method communicates with the database and will retrieve all the events in the database .
async function returnAllEvents() {
    console.info("Retrieving all users");
    return await Event.findAll({
    }).then((events) => {
        return events;
    }).catch((err) => {
        console.log(err);
        return err;
    })
}
async function returnAllEvents ( ) { console . info ( "Retrieving all users" ) ; return await Event . findAll ( { } ) . then ( ( events ) => { return events ; } ) . catch ( ( err ) => { console . log ( err ) ; return err ; } ) }
This method communicates with the database and will
retrieve all the events in the database.
This method communicates with the database and will retrieve all the events in the database .