public async Task <JsonResult> OnGetScriptsAsync(string categoryId) { return(new JsonResult(ScriptService.GetScripts(categoryId))); }