public static Int64 SaveGroupType(GroupType groupType) { if (groupType.GroupTypeID > 0) { Update(groupType); } else { Add(groupType); } return groupType.GroupTypeID; }
public static void DeleteGroupType(GroupType groupType) { GroupType.Delete(groupType.GroupTypeID); }