API.DataAccess.MemoryTransitRepository.SetSchedule C# (CSharp) Method

SetSchedule() public method

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