function deleteProjectWithId(projectId) {
    return fetchProject(projectId)
    .then(deleteProject)
    .catch((error) => {
        console.trace(error);