public async Task<int> ConvertSinglePostAsync(PostViewModel sqlPost)
        {
            if (sqlPost == null)
            {
                return -1;
            }

            LocationSql location = new LocationSql();

            var addres = await this.geolocationService.GetCurrentCivilAddresByLocationAsync();

            if (addres != null)
            {
                location.Town = addres.Town;
                location.Country = addres.Country;
            }

            var images = new List<ImageSql>();

            // TODO: ViewModel to SqLite model make it right way
            sqlPost.Images.ForEach(i =>
            {
                var imgInfo = new ImageInfoSql()
                {
                    OriginalName = i.ImageInfo.OriginalName,
                    FileExstension = i.ImageInfo.FileExstension,
                    ByteArrayContent = i.ImageInfo.ByteArrayContent
                };

                var img = new ImageSql()
                {
                    Title = i.Title,
                    Description = i.Description,
                    ImageInfo = imgInfo
                };

                images.Add(img);
            });

            var post = new PostSql()
            {
                Title = sqlPost.Title,
                Content = sqlPost.Content,
                Category = sqlPost.Category,
                IsBest = sqlPost.IsBest,
                Location = location,
                Images = images
            };

            var result = await this.sqLiteService.AddNewPostAsync(post);

            return result;
        }
        public async Task<ImageParse> ConvertSingleImageAsync(ImageSql sqlImage)
        {
            var parseImage = new ImageParse()
            {
                Title = sqlImage.Title,
                Description = sqlImage.Description,

            };

            if (sqlImage.ImageInfo != null)
            {
                var sqlImageInfo = sqlImage.ImageInfo;

                var imageInfo = new ParseFile(sqlImageInfo.OriginalName.ReplaceFileNameWithGuid(), sqlImageInfo.ByteArrayContent);

                imageInfo = await this.parseFilesService.UploadFileAsync(imageInfo);

                parseImage.ImageInfo = imageInfo;
                parseImage.ImageUrl = imageInfo.Url.OriginalString;
            }

            return parseImage;
        }