Ejemplo n.º 1
0
        public Model.Users.Notification NewNotification(Model.Users.Notification notification)
        {
            List <Notification> notifications = ReadFromFile();

            notifications.Add(notification);
            WriteInFile(notifications);
            return(notification);
        }
Ejemplo n.º 2
0
 public void SendNotification(Model.Users.Notification notification)
 {
     notificationRepository.NewNotification(notification);
 }