public async Task <ValidatedApiResponse <int> > RestoreContent(TemplateContentUpdateCommand command) { string url = $"templates/build/{command.TemplateId}/restore/{command.Version}"; return(await ValidatedPutAsync <int, TemplateContentUpdateCommand>(url, command)); }
public async Task <ValidatedApiResponse <int> > UpdateTemplateContent(TemplateContentUpdateCommand command) { string url = "templates/build/content"; return(await ValidatedPutAsync <int, TemplateContentUpdateCommand>(url, command)); }