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