public async Task <int> DeletePost([FromBody] Post obj)
        {
            try
            {
                DynamicComponentController controller = new DynamicComponentController();
                await controller.DeletePost(obj, GetSiteID, GetUsername);

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