public static bool DeleteGroupInfo(long groupID) { if (groupID == 0) { return(true); } return(DAL.DeleteByGroupInfoID(groupID) >= 0 && groupUserDAL.DeleteByGroupID(groupID)); }