public ActionResult DayChangeServer() { debugDayChangeRepository.Add(new Entities.DebugDayChanx() { DayChangeTime = DateTime.Now }); debugDayChangeRepository.SaveChanges(); if (worldService.CanChangeDay()) { worldService.ProcessDayChange(); } return(Content("")); }