pub fn delete(db: &Db, project_name: &str, id: &TaskId) -> Result<bool>
Delete a task by project and id. Returns whether a record existed.