public void InsertNotification(IEnumerable <SystemNotificationModel> notifications) { var rawXml = XmlSerializerHelpers.Serialize(new SystemNotificationBulkXmlSerilizableModel { Notifications = notifications.ToList() }); CommonSystemNotificationsDal.InsertNotifications(QPConnectionScope.Current.DbConnection, rawXml); }
public void UpdateUnsentNotifications(IEnumerable <int> notificationIds, string lastExceptionMessage = null) { CommonSystemNotificationsDal.UpdateUnsentNotifications(QPConnectionScope.Current.DbConnection, notificationIds, lastExceptionMessage); }
public void DeleteSentNotifications() { CommonSystemNotificationsDal.DeleteSentNotifications(QPConnectionScope.Current.DbConnection); }
public void UpdateSentNotifications(IEnumerable <int> notificationIds) { CommonSystemNotificationsDal.UpdateSentNotifications(QPConnectionScope.Current.DbConnection, notificationIds); }