private void InitializeAuction() { // Initialize model auctionViewModel = new AuctionViewModel(0, 10, DateTime.Now.AddSeconds(30), 0); timer = new System.Threading.Timer(TimerExpired, null, secs_10, 0); initialized = true; }
internal static void AuctionRefresh(AuctionViewModel model) { GetHubContext().Clients.All.auctionRefresh(model); }