public async Task Update(int scriptId, [FromBody] ScriptPostParameters postParams) { await _scriptManager.Update(scriptId, postParams.Name, postParams.Description, postParams.Published_Version); }
public async Task <int> New([FromBody] ScriptPostParameters postParams) { return(await _scriptManager.NewAsync(postParams.Name, postParams.Description)); }