public void NotifyForPermissionItemGuid(NotificationToItemGuid Notification) { try { List <int> DestinationPersons = CommunityService().GetItemGuidMembersID(Notification.CommunityID, Notification.ModuleCode, Notification.ItemID, Notification.ObjectTypeID, Notification.Permission).ToList <int>(); using (ISession currentSession = BasicSessionMgr.GetSession()) { if (currentSession != null) { NotificationRepository oDal = new NotificationRepository(currentSession, GetCachedTemplates()); oDal.AddNotificationMessage(Notification, DestinationPersons); } } } catch (Exception ex) { ErrorHandler pError = new ErrorHandler(); pError.addMessageToPoisonQueue(Notification, ex); } }
public void NotifyForPermissionItemGuid(NotificationToItemGuid Notification) { throw new NotImplementedException(); }