예제 #1
0
 public JournalItem GetJournalItemByKey(int portalId, string objectKey)
 {
     if (string.IsNullOrEmpty(objectKey))
     {
         return(null);
     }
     return((JournalItem)CBO.FillObject(_dataService.Journal_GetByKey(portalId, objectKey), typeof(JournalItem)));
 }
예제 #2
0
 public JournalItem GetJournalItemByKey(int portalId, string objectKey, bool includeAllItems, bool isDeleted)
 {
     if (string.IsNullOrEmpty(objectKey))
     {
         return(null);
     }
     return(CBO.FillObject <JournalItem>(_dataService.Journal_GetByKey(portalId, objectKey, includeAllItems, isDeleted)));
 }