public string GanttJson() { SetSite(); ViewModes.Set(Site.SiteId); switch (Site.ReferenceType) { case "Issues": return(IssueUtilities.GanttJson( ss: Site.IssuesSiteSettings(ReferenceId, setAllChoices: true))); default: return(HtmlTemplates.Error(Error.Types.NotFound)); } }
public string GanttJson() { SetSite(); ViewModes.Set(Site.SiteId); switch (Site.ReferenceType) { case "Issues": return(IssueUtilities.GanttJson( ss: Site.IssuesSiteSettings( ReferenceId, setAllChoices: true, setSiteIntegration: true))); default: return(Messages.ResponseNotFound().ToJson()); } }