Beispiel #1
0
 public static void AddDefaultLevel(Guid organizationId, int departmentID,
                                   int userID,
                                   string levelName)
 {
     TktLevels tl = new TktLevels(organizationId);
     tl.AddNew();
     tl.DId = departmentID;
     tl.IntLastResortId = userID;
     tl.TintLevel = 1;
     tl.BitDefault = true;
     tl.s_Description = "";
     tl.TintRoutingType = 0;
     tl.LevelName = levelName;
     tl.Save();
 }
Beispiel #2
0
        public static void AddDefaultLevel(Guid organizationId, int departmentID,
                                           int userID,
                                           string levelName)
        {
            TktLevels tl = new TktLevels(organizationId);

            tl.AddNew();
            tl.DId             = departmentID;
            tl.IntLastResortId = userID;
            tl.TintLevel       = 1;
            tl.BitDefault      = true;
            tl.s_Description   = "";
            tl.TintRoutingType = 0;
            tl.LevelName       = levelName;
            tl.Save();
        }