diff --git a/src/repository/notification.rs b/src/repository/notification.rs
index 44d2e5439765d007261f2a775273e21cc3c52921..f211c7ae779d92beb82155325f50a3041c6de73b 100644
--- a/src/repository/notification.rs
+++ b/src/repository/notification.rs
@@ -12,5 +12,10 @@ lazy_static! {
 pub struct NotificationRepository;
 
 impl NotificationRepository {
-
+    pub fn add(notification: Notification) -> Notification {
+        NOTIFICATIONS.write().unwrap()
+            .push(notification.clone());
+        return notification;
+    }
+    
 }
\ No newline at end of file