const currentLayer = await Layer.findById(id).exec() || await Layer.findOne({
            slug: id
        }).exec();