public async Task <int> CloneTemplate([FromBody] int templateID)
        {
            try
            {
                string appPath = _hostingEnvironment.WebRootPath;
                DynamicComponentController controller = new DynamicComponentController();
                await controller.CloneTemplate(templateID, GetUsername, GetSiteID, appPath);

                return(1);
            }
            catch (Exception ex)
            {
                ProcessException(ex);
                return(0);
            }
        }