internal SendNotification(String conectionString) { NotificatioEventDb = new NoitificationEvent(conectionString); NotificationLogs = new NotificationLogs(conectionString); Notify = new ResolverNotify(); NotificationQuerys = new NotificationQuerys(conectionString); }
public List <Tuple <int, string, string> > GetProvaiderNotification(string conectionString) { List <Tuple <int, string, string> > notificationProvaider = new List <Tuple <int, string, string> >(); List <CatalogNotificationType> listnotificationType = new NotificationQuerys(conectionString).GetProvaiderNotification(); if (listnotificationType != null) { listnotificationType.ForEach(t => notificationProvaider.Add(new Tuple <int, string, string>(t.IdNotificationType, t.NotificationType, t.RegularExpression))); } return(notificationProvaider); }