private static void CreateDefaultConfig() { string pathAppConfig = GetPathAppConfig(); if (!File.Exists(pathAppConfig)) { JSONUtils.SaveToFile(new AppConfigModel(), pathAppConfig); } }
public static void Save(AppConfigModel appConfig) => JSONUtils.SaveToFile(appConfig, GetPathAppConfig());