Ejemplo n.º 1
0
        public async Task <ValidatedApiResponse <int> > RestoreContent(TemplateContentUpdateCommand command)
        {
            string url = $"templates/build/{command.TemplateId}/restore/{command.Version}";

            return(await ValidatedPutAsync <int, TemplateContentUpdateCommand>(url, command));
        }
Ejemplo n.º 2
0
        public async Task <ValidatedApiResponse <int> > UpdateTemplateContent(TemplateContentUpdateCommand command)
        {
            string url = "templates/build/content";

            return(await ValidatedPutAsync <int, TemplateContentUpdateCommand>(url, command));
        }