public async Task<PostParse> ConvertSinglePostAsync(PostSql sqlPost)
        {
            if (sqlPost == null)
            {
                return null;
            }

            var parsePost = new PostParse()
            {
                Title = sqlPost.Title,
                Content = sqlPost.Content,
                Category = sqlPost.Category,
                IsBest = sqlPost.IsBest,
                Location = this.ConvertSingleLocation(sqlPost.Location)
            };

            var parseImages = await Task.WhenAll(sqlPost.Images.Select(this.ConvertSingleImageAsync));

            if (sqlPost.Images != null)
            {
                parseImages.ForEach(i => parsePost.AddToList("Images", i));
            }

            if (sqlPost.Videos != null)
            {
                sqlPost.Videos.ForEach(v => parsePost.AddToList("Videos", this.ConvertSingleVideoAsync(v)));
            }



            return parsePost;
        }
        public async Task<PostParse> AddNewImageToPostAsync(PostParse postToUpdate)
        {
            try
            {
                await postToUpdate.SaveAsync();

                return postToUpdate;
            }
            catch (Exception ex)
            {
                var msg = ex.Message;

                return null;
            }
        }
        public async Task<string> AddNewPostAsync(PostParse newPost)
        {
            try
            {
                var currentUser = (UserParse)ParseUser.CurrentUser;
                currentUser.AddToList("Posts", newPost);
                await currentUser.SaveAsync();

                return newPost.ObjectId;
            }
            catch (Exception ex)
            {
                var msg = ex.Message;

                return null;
            }
        }