public async Task <Script> PatchScript(long scriptid, [FromBody] PatchOperation[] patches) { logger.LogInformation("Patching script {scriptid}", scriptid); await scriptservice.PatchScript(scriptid, patches); return(await scriptservice.GetScript(scriptid)); }