public SystemCommandsModel GetSystemCommandFromSource(string source) { try { return(SystemCommandsModel.FromJson(HTMLGet($"{_baseURL}api/system/commands/" + source))); } catch (Exception ex) { return(null); } }
//public SpecificSlicingModel GetSpecificSlicing(string slicer, string key) //{ // return SpecificSlicingModel.FromJson(HTMLGet($"{_baseURL}api/settings/" + slicer + "/profiles/" + key)); //} public SystemCommandsModel GetSystemCommands() { try { return(SystemCommandsModel.FromJson(HTMLGet($"{_baseURL}api/system/commands"))); } catch (Exception ex) { return(null); } }