Esempio n. 1
0
        public ActionResult DayChangeServer()
        {
            debugDayChangeRepository.Add(new Entities.DebugDayChanx()
            {
                DayChangeTime = DateTime.Now
            });
            debugDayChangeRepository.SaveChanges();

            if (worldService.CanChangeDay())
            {
                worldService.ProcessDayChange();
            }
            return(Content(""));
        }