public string GetMasterRelease() { string path = string.Format(@"{0}HamSecurityModel\{1}.json", WebApiApplication.ApplicationMaster, "MasterRelease2"); SecTOC misTocs = new SecTOC(path); string temp = misTocs.TOCJson.Replace("items", "children"); return(temp); }
public string GetListTocs(int filename) { SecUsuario usuario = SecUsuario.GetSecUsuario(filename); string path = string.Format(@"{0}TOCs\{1}.json", WebApiApplication.ApplicationResources, usuario.User); SecTOC misTocs = new SecTOC(path); string temp = misTocs.TOCJson; return(temp); }
public string GetStringTocs(string filename) { SecTOC misTocs = new SecTOC(filename); return(misTocs.TOCJson); }