public void LoadDataModel(string path) { var json = File.ReadAllText(path); _dataModel = JsonConvert.DeserializeObject <DataModel>(json); }
public Controller() { _defaultMonth = DateTime.Now.Month; _dataModel = new DataModel(); }