public static List <KeyValuePair <int, DepartmentInfo> > GetDepartmentInfoKeyValuePair()
 {
     lock (LockObject)
     {
         if (CacheUtils.Get(CacheKey) == null)
         {
             var list = DepartmentDao.GetDepartmentInfoKeyValuePair();
             CacheUtils.Max(CacheKey, list);
             return(list);
         }
         return(CacheUtils.Get(CacheKey) as List <KeyValuePair <int, DepartmentInfo> >);
     }
 }