public IHttpActionResult DeleteAllNotification(List <DataModels.Notification> Notifications)
        {
            foreach (var not in Notifications)
            {
                NotificationsService.DeleteNotification(not.Id);
            }

            return(Ok(NotificationsService.GetNotifications()));
        }
 public IHttpActionResult DeleteNotification(int id)
 {
     NotificationsService.DeleteNotification(id);
     return(Ok());
 }