public string AppInfo() { var appInfo = Core.AppInfo.GetAppInfo(); return(JsonFileManager.GetContentJsonFromObject(appInfo)); }
public string Show(string name) { return(JsonFileManager.GetContentJsonFromObject(AppInfo.GetAppInfo().GetConfiguration(name))); }
/// <summary> /// View model as Json /// </summary> /// <param name="model">Model instance</param> /// <param name="config">JsonSerializerSettings instance</param> /// <returns>Object to JSON string</returns> public virtual string ViewJson(object model, JsonSerializerSettings config = null) { return(JsonFileManager.GetContentJsonFromObject(model, config)); }