Exemplo n.º 1
0
        public async Task <int> ClonePostType([FromBody] int postId)
        {
            try
            {
                DynamicComponentController controller = new DynamicComponentController();
                await controller.ClonePostType(postId, GetSiteID, GetUsername);

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