public async Task UpdateDataInProfile(UpdateProfileViewModel model)
        {
            var userProfile = await _db.Users.GetUserProfile(model.UserID);

            string boardGameImage = userProfile.Avatar;

            if (!string.IsNullOrEmpty(model.Avatar))
            {
                byte[] imageBoardGameBytes = Convert.FromBase64String(model.Avatar);
                Stream stream = new MemoryStream(imageBoardGameBytes);
                await _blobStorage.Save(stream, $"{model.UserID}.jpg");

                boardGameImage = _blobStorage.Load($"{model.UserID}.jpg").Uri.AbsoluteUri;
            }



            await _db.UpdateDataInUserProfile(userProfile, model, boardGameImage);
        }