API.DataAccess.MemoryTransitRepository.SetSchedule C# (CSharp) 메소드

SetSchedule() 공개 메소드

public SetSchedule ( Dictionary schedule ) : void
schedule Dictionary
리턴 void
        public void SetSchedule(Dictionary<int, IEnumerable<BusStopRouteSchedule>> schedule)
        {
            s_schedule = schedule;
            File.WriteAllText(_schedulePath, JsonConvert.SerializeObject(schedule));
        }