Esempio n. 1
0
 public static int AddDefaultRootLevel(Guid organizationId, int departmentID,
                                       int locationID,
                                       int userID)
 {
     LocationRouteLevels rl = new LocationRouteLevels(organizationId);
     rl.AddNew();
     rl.DId = departmentID;
     rl.LocationId = locationID;
     rl.LastResortTechId = userID;
     rl.TechPoolType = 0;
     rl.RoutingMethod = 0;
     rl.TicketLevel = 1;
     rl.Save();
     return rl.Id;
 }
Esempio n. 2
0
        public static int AddDefaultRootLevel(Guid organizationId, int departmentID,
                                              int locationID,
                                              int userID)
        {
            LocationRouteLevels rl = new LocationRouteLevels(organizationId);

            rl.AddNew();
            rl.DId              = departmentID;
            rl.LocationId       = locationID;
            rl.LastResortTechId = userID;
            rl.TechPoolType     = 0;
            rl.RoutingMethod    = 0;
            rl.TicketLevel      = 1;
            rl.Save();
            return(rl.Id);
        }