public bool DeleteUserNotification(NotificationDTO notification)
 {
     Guard.ArgNotNull(notification, "notification");
     DeleteNotificationsResponse result = _dataService.DeleteNotification(new DeleteNotificationsRequest
                                                                              {
                                                                                  Id = notification.Id
                                                                              });
     return result.Success;
 }
        public bool AddUserNotification(NotificationDTO notification)
        {
            Guard.ArgNotNull(notification, "notification");

            CreateNewNotificationsResponse result = _dataService.CreateNewNotification(new CreateNewNotificationsRequest
                                                                                           {
                                                                                               Text = notification.Text,
                                                                                               User_Id =
                                                                                                   notification.User_Id,
                                                                                               User_Forms_AuthId =
                                                                                                   notification.
                                                                                                   User_FormsAuthId,
                                                                                               Notification_Type_Id =
                                                                                                   notification.
                                                                                                   NotificationType_Id
                                                                                           });
            return result.Success;
        }
 public void CreateNewUserNotification(NotificationDTO notification)
 {
     NotificationManager.AddUserNotification(notification);
 }
 public void RemoveUserNotification(NotificationDTO notification)
 {
     NotificationManager.DeleteUserNotification(notification);
 }