Ejemplo n.º 1
0
        public string AppInfo()
        {
            var appInfo = Core.AppInfo.GetAppInfo();

            return(JsonFileManager.GetContentJsonFromObject(appInfo));
        }
Ejemplo n.º 2
0
 public string Show(string name)
 {
     return(JsonFileManager.GetContentJsonFromObject(AppInfo.GetAppInfo().GetConfiguration(name)));
 }
Ejemplo n.º 3
0
 /// <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));
 }