private void ImportUserQueriesFromFile(UserQueriesContainer uqc) { var file = Server.MapPath("~/" + filename); if (System.IO.File.Exists(file)) { uqc.ImportFromXML(file); } }
private void ImportUserQueries(UserQueriesContainer uqc) { var file = Server.MapPath("UserQueriesStructure.xml"); if (File.Exists(file)) { uqc.ImportFromXML(file); } }
private void ImportUserQueriesFromFile(UserQueriesContainer uqc) { var file = _env.WebRootPath + @"/../" + filename; if (System.IO.File.Exists(file)) { uqc.ImportFromXML(file); } }