public void LoadModelFromFile(string FilePath) { string content = File.ReadAllText(FilePath); Model = Newtonsoft.Json.JsonConvert.DeserializeObject <DataModel>(content); }
public DataAccess() { Model = new DataModel(); }