public async Task <IList <Template> > GetAllPostTemplates(string templateName, int postId, int siteId, string type = null)
        {
            DynamicComponentDataProvider provider = new DynamicComponentDataProvider();

            return(await provider.GetAllPostTemplates(templateName, postId, siteId, type));
        }