@Override public Notifications getNotificationById(int id) { return notificationsDao.getNotificationById(id); }
@Override public List<Notifications> getNotifications() { return notificationsDao.getNotifications(); }
@Override public void delateNotification(int id) { notificationsDao.delateNotification(id); }
@Override public void updateNotification(Notifications notification) { notificationsDao.updateNotification(notification); }
@Override public void createNotification(Notifications notification) { // Account account = accountService.loginAccount(); // notification.setAccount(account); notificationsDao.createNotification(notification); }