public NotificationModel AddNotification(NotificationModel notificationModel) { // store it as it is _notificationsAccess.AddNotification(notificationModel); // try to save the user's copy var usrNotification = _userNotificationService.AddNotification(notificationModel); // try to broadcast it to the user _notificationBroadcast.BroadcastNotification(usrNotification.UserId, usrNotification); return(notificationModel); }