Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        public string GetStringTocs(string filename)
        {
            SecTOC misTocs = new SecTOC(filename);

            return(misTocs.TOCJson);
        }