public JsonResult SendComment(PictureComments comments) { var data = _commentRepository.SentComment(comments); var notification = _commentRepository.CommentNotification(data); if (notification != null) { _notificationHub.SendNotification(notification); } return(Json(data)); }