Example #1
0
 private static FeedColumnLayoutCollection LoadLayouts(IClientDataService dataService)
 {
     if (dataService == null)
     {
         throw new ArgumentNullException("dataService");
     }
     try
     {
         return(dataService.LoadColumnLayouts());
     } catch (Exception ex)
     {
         _log.Error("Could not load column layouts", ex);
         return(new FeedColumnLayoutCollection());
     }
 }