public void NotifyForumUpdate(Forum forum) { _timeFormattingService.Init(null); var context = GlobalHost.ConnectionManager.GetHubContext <Forums>(); context.Clients.All.notifyForumUpdate(new { forum.ForumID, TopicCount = forum.TopicCount.ToString("N0"), PostCount = forum.PostCount.ToString("N0"), LastPostTime = _timeFormattingService.GetFormattedTime(forum.LastPostTime), forum.LastPostName, Utc = forum.LastPostTime.ToString("o"), Image = "NewIndicator.png" }); }