public long DeleteAreas(Pack p) { DbModel model = new DbModel("PackArea", null); return model.DeleteBy("Pack", p.Id); }