public TemplateModel Get() { if (!File.Exists(FilePath())) { return(new TemplateModel()); } var dataFromFile = File.ReadAllText(FilePath()); TemplateModel data = DataSerializer.Deserialize <TemplateModel>(dataFromFile); data.Init(); return(data); }