Example #1
0
        public bool DeleteProjectTaskTemplate(ProjectTemplate projectTemplate, ProjectTaskTemplateReference projectTaskTemplateReference)
        {
            DefaultHandler <ProjectTaskTemplateReference> handler = new DefaultHandler <ProjectTaskTemplateReference>($"{this.URL}/{projectTemplate.ID}/task_templates", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests);

            return(handler.Delete(projectTaskTemplateReference));
        }
Example #2
0
        public ProjectTaskTemplateReference UpdateProjectTaskTemplate(ProjectTemplate projectTemplate, ProjectTaskTemplateReference projectTaskTemplateReference, ProjectTemplatePhase projectTemplatePhase)
        {
            DefaultHandler <ProjectTaskTemplateReference> handler = new DefaultHandler <ProjectTaskTemplateReference>($"{this.URL}/{projectTemplate.ID}/task_templates", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests);

            return(handler.CustomWebRequest($"/{projectTaskTemplateReference.ID}?phase_name={projectTemplatePhase.Name}", "PATCH"));
        }