public static GetProfileResponse GetUserProfile()
        {
            try
            {
                DragonWordPressClient client = new DragonWordPressClient(_config);
                return(client.SendGetProfileRequest(new GetProfileRequest()));
            }
            catch (Exception exception)
            {
                Console.Write("Profile couldn't be loaded: " + exception);
            }

            return(null);
        }
        /// <summary>
        ///     Delete a post, attachment or page by its id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static bool Delete(int id)
        {
            DragonWordPressClient client = new DragonWordPressClient(_config);

            return(client.SendDeletePostRequest(new DeletePostRequest(id)).Success);
        }
        public static UploadFileResponse UploadFile(string path)
        {
            DragonWordPressClient client = new DragonWordPressClient(_config);

            return(client.SendUploadFileRequest(new UploadFileRequest(path)));
        }