allow host to change runtime and rendermode settings in System Info
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| using System.Collections.Generic; | ||||
| using System.Collections.Generic; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Oqtane.Services | ||||
| @ -6,5 +6,7 @@ namespace Oqtane.Services | ||||
|     public interface ISystemService | ||||
|     { | ||||
|         Task<Dictionary<string, string>> GetSystemInfoAsync(); | ||||
|  | ||||
|         Task UpdateSystemInfoAsync(Dictionary<string, string> settings); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -22,5 +22,10 @@ namespace Oqtane.Services | ||||
|         { | ||||
|             return await GetJsonAsync<Dictionary<string, string>>(Apiurl); | ||||
|         } | ||||
|  | ||||
|         public async Task UpdateSystemInfoAsync(Dictionary<string, string> settings) | ||||
|         { | ||||
|             await PostJsonAsync(Apiurl, settings); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker