async function deleteEvent(id) {
    console.info(`Deleting event with specified id: ${id}`);
    await Event.destroy({
        where: {
            id: id
        }
    });
}
/*
* This method communicates with the database and will
* delete the event with the specified id.
* @author Ruben Fricke
*/
This method communicates with the database and will
delete the event with the specified id.
This method communicates with the database and will delete the event with the specified id .
async function deleteEvent(id) {
    console.info(`Deleting event with specified id: ${id}`);
    await Event.destroy({
        where: {
            id: id
        }
    });
}
async function deleteEvent ( id ) { console . info ( ` ${ id } ` ) ; await Event . destroy ( { where : { id : id } } ) ; }
This method communicates with the database and will
delete the event with the specified id.
This method communicates with the database and will delete the event with the specified id .