public async void SelectImage() { var imagePath = _fileProcessorService.SelectFile(); if (imagePath == null) { return; } SocketUser.ProfilePicture = await _fileProcessorService.GetBytesFromImage(imagePath); }
private async void SelectImage() { string imagePath = _fileProcessorService.SelectFile(); if (imagePath == null) { return; } byte[] image = await _fileProcessorService.GetBytesFromImage(imagePath); ImageCount++; Images.Add(image); }