Example #1
0
        public void LoadDataModel(string path)
        {
            var json = File.ReadAllText(path);

            _dataModel = JsonConvert.DeserializeObject <DataModel>(json);
        }
Example #2
0
 public Controller()
 {
     _defaultMonth = DateTime.Now.Month;
     _dataModel    = new DataModel();
 }