Esempio n. 1
0
 public bool RemoveProjectPhase(ProjectTemplate projectTemplate, ProjectTemplatePhase projectTemplatePhase)
 {
     return(DeleteRelation(projectTemplate, "phases", projectTemplatePhase));
 }
Esempio n. 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"));
        }
Esempio n. 3
0
 public bool AddProjectPhase(ProjectTemplate projectTemplate, ProjectTemplatePhase projectTemplatePhase)
 {
     return(CreateRelation(projectTemplate, "phases", projectTemplatePhase));
 }