Example #1
0
 public void NotifyForPermissionItemLong(NotificationToItemLong Notification)
 {
     try
     {
         List <int> DestinationPersons = CommunityService().GetItemLongMembersID(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);
     }
 }
Example #2
0
 public void NotifyForPermissionItemLong(NotificationToItemLong Notification)
 {
     throw new NotImplementedException();
 }