public JournalItem GetJournalItemByKey(int portalId, string objectKey) { if (string.IsNullOrEmpty(objectKey)) { return(null); } return((JournalItem)CBO.FillObject(_dataService.Journal_GetByKey(portalId, objectKey), typeof(JournalItem))); }
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))); }