Beispiel #1
0
        public void Get(DCUser2 dcusr)
        {
            GroupBiz gbiz = new GroupBiz();

            try
            {
                GMUtilities.GMReflectionUtils.Copy(m_biz.Get(dcusr.ID), dcusr);
                dcusr.DSUNSelected   = gbiz.Get();
                dcusr.DSTypeID       = m_optbiz.GetEmployeeTypes(GetCache(dcusr.SessionID).ID);
                dcusr.DSDepartmentID = m_optbiz.GetDeparmentTypes();
                if (dcusr.ID.HasValue)
                {
                    dcusr.DSSelected = GMUtilities.DataUtils.DetachSelection(dcusr.DSUNSelected, m_biz.GetGroups(dcusr.ID));
                }
            }
            catch (Exception exp) { throw exp; }
            finally { gbiz.Dispose(); }
        }
Beispiel #2
0
 public void Get(Groups es)
 {
     try { es.DSMembers = m_biz.Get(); }
     catch (Exception exp) { throw exp; }
     finally {}
 }