Exemplo n.º 1
0
        public List <CampaignEN> GetUserNotifications(PersonEN pPerson)
        {
            List <CampaignEN> notifications = new List <CampaignEN>();

            try
            {
                notifications = campaignDAL.GetNotificationsByUserID(pPerson.PersonID);
            }
            catch (Exception ex)
            {
                notifications = null;
                Console.WriteLine(ex.InnerException);
                EventViewerLoggerBL.LogError("CampaignBL " + ex.Message);
            }

            return(notifications);
        }