Пример #1
0
 /// <summary>
 /// This will get Business Units
 /// </summary>
 private void GetItems()
 {
     try
     {
         if (BusinessUnits == null)
         {
             BusinessUnits = _businessUnit.GetUserBusinessUnits(CurrentUser.UserID);
         }
     }
     catch (Exception ex)
     {
         EventLogProvider.LogInformation("Kadena_CMSWebParts_Kadena_Cart_FailedOrdersCart", "GetItems", ex.Message);
     }
 }
Пример #2
0
 public List <BusinessUnit> GetUserBusinessUnits(int UserID)
 {
     return(kenticoBusinessUnits.GetUserBusinessUnits(UserID));
 }