Ejemplo n.º 1
0
        public async Task <int> PublishPostType([FromBody] Post post)
        {
            try
            {
                DynamicComponentController controller = new DynamicComponentController();
                await controller.PublishPostType(post, GetSiteID, GetUsername);

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